From 58aa29d137439697c27538dc2ecddfc2a2bf2b57 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 6 Oct 2016 12:35:17 +0200 Subject: [PATCH] Update nginx.conf.tmpl --- rootfs/etc/confd/templates/nginx.conf.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rootfs/etc/confd/templates/nginx.conf.tmpl b/rootfs/etc/confd/templates/nginx.conf.tmpl index 562665f..9f190de 100644 --- a/rootfs/etc/confd/templates/nginx.conf.tmpl +++ b/rootfs/etc/confd/templates/nginx.conf.tmpl @@ -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; } } -} \ No newline at end of file +}