Add avif support

This commit is contained in:
Argus Duong
2020-09-15 08:24:38 +07:00
parent dce6b111b0
commit a32d6f483e
3 changed files with 43 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ location /wp-content/uploads {
access_log off;
log_not_found off;
expires max;
try_files $uri$webp_suffix $uri =404;
try_files $uri$avif_suffix $uri$webp_suffix $uri =404;
}
location ~* \.(php|gz|log|zip|tar|rar|xz)$ {
#Prevent Direct Access Of PHP Files & Backups from Web Browsers