m
This commit is contained in:
19
volumes/snippets/wordpress-optimizations.conf
Normal file
19
volumes/snippets/wordpress-optimizations.conf
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user