summaryrefslogtreecommitdiffstats
path: root/debian/apache2.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 02:05:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 02:05:56 +0000
commit8ea36e5f4153da8d1fcebfb0a7fd7213b46edbc9 (patch)
treea63f1324378aee014560a69a2d6e76cbf49eadb4 /debian/apache2.postinst
parentAdding configuration file to no accidentally serve git files. (diff)
downloadapache2-8ea36e5f4153da8d1fcebfb0a7fd7213b46edbc9.tar.xz
apache2-8ea36e5f4153da8d1fcebfb0a7fd7213b46edbc9.zip
Setting Referrer-Policy to no-referrer.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/apache2.postinst')
-rw-r--r--debian/apache2.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/apache2.postinst b/debian/apache2.postinst
index e802575..2226cc3 100644
--- a/debian/apache2.postinst
+++ b/debian/apache2.postinst
@@ -63,7 +63,7 @@ enable_default_conf()
if is_fresh_install $@ ; then
for conf in charset localized-error-pages other-vhosts-access-log \
security serve-cgi-bin \
- csp hsts modern-cookies modern-ssl no-cache no-frames no-git ; do
+ csp hsts modern-cookies modern-ssl no-cache no-frames no-git no-referrer ; do
a2enconf -m -q $conf
done
fi