summaryrefslogtreecommitdiffstats
path: root/debian/apache2.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:17:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:17:10 +0000
commit92112183de908e832f6f11bb662c1dc18c52887a (patch)
tree3e87c54bd649575eb7376fdf4e62ccc69af46d7e /debian/apache2.postinst
parentSetting HSTS options to "max-age=63072000; includeSubDomains; preload". (diff)
downloadapache2-92112183de908e832f6f11bb662c1dc18c52887a.tar.xz
apache2-92112183de908e832f6f11bb662c1dc18c52887a.zip
Setting additional Set-Cookie options HttpOnly;SameSite=Strict;Secure.
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 bc839f1..0b87a6b 100644
--- a/debian/apache2.postinst
+++ b/debian/apache2.postinst
@@ -56,7 +56,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 ; do
+ csp hsts modern-cookies ; do
a2enconf -m -q $conf
done
fi