This commit is contained in:
zino
2023-12-09 13:50:37 +01:00
parent 42295b30df
commit 07a3d78137
3 changed files with 63 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
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;
}