summaryrefslogtreecommitdiffstats
path: root/debian/apache2.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 21:49:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 21:49:21 +0000
commit2082c9bf6c01b666313a2426eb75e57a2e75e828 (patch)
treec5c154b4add984de590bcf4bf25ea892a18ae9dc /debian/apache2.postinst
parentSetting HSTS options to "max-age=63072000; includeSubDomains; preload". (diff)
downloadapache2-2082c9bf6c01b666313a2426eb75e57a2e75e828.tar.xz
apache2-2082c9bf6c01b666313a2426eb75e57a2e75e828.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