Update nginx.conf.tmpl
This commit is contained in:
parent
812fbe87c4
commit
58aa29d137
@ -28,6 +28,8 @@ http {
|
|||||||
|
|
||||||
client_max_body_size 1G;
|
client_max_body_size 1G;
|
||||||
|
|
||||||
|
add_header X-Clacks-Overhead "GNU Terry Pratchett";
|
||||||
|
|
||||||
location ~ ^/(data|config|\.ht|db_structure\.xml|README|AUTHORS|COPYING-AGPL|COPYING-README) {
|
location ~ ^/(data|config|\.ht|db_structure\.xml|README|AUTHORS|COPYING-AGPL|COPYING-README) {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
@ -52,4 +54,4 @@ http {
|
|||||||
access_log off;
|
access_log off;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user