mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-09 08:35:05 +02:00
Optimizations for Nginx configs
This commit is contained in:
@ -41,7 +41,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include|locale) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ server {
|
||||
expires 14d;
|
||||
}
|
||||
|
||||
location ~ /(app\/|conf[^\.]|include|locale) {
|
||||
location ~ /(app\/|conf[^\.]|include\/|local\/|locale\/) {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
Reference in New Issue
Block a user