Update nginx.conf.tmpl

This commit is contained in:
Sebastian Hugentobler 2016-10-06 12:35:17 +02:00 committed by GitHub
parent 812fbe87c4
commit 58aa29d137

View File

@ -28,6 +28,8 @@ http {
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) {
deny all;
}
@ -52,4 +54,4 @@ http {
access_log off;
}
}
}
}