@@ -34,6 +34,6 @@ map $realip_remote_addr $avif_suffix_cf {
|
||||
}
|
||||
|
||||
map $avif_suffix_cf$avif_suffix_valid $avif_suffix {
|
||||
default "";
|
||||
default ".notexists";
|
||||
00 ".avif";
|
||||
}
|
||||
@@ -61,7 +61,7 @@ location /wp-content/plugins/ewww-image-optimizer/images {
|
||||
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$ {
|
||||
#Prevent Direct Access Of PHP Files From Web Browsers
|
||||
|
||||
Reference in New Issue
Block a user