Files
docker-nginx/volumes/snippets/wordpress-optimizations.conf
zino 07a3d78137 m
2023-12-09 13:50:37 +01:00

19 lines
302 B
Plaintext

location ~ /(\.user\.ini|debug\.log) {
deny all;
}
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires max;
log_not_found off;
}