summaryrefslogtreecommitdiffstats
path: root/debian/apache2.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 02:05:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 02:05:53 +0000
commitcef47e4e51a448cf71fcbea5ed13d17b74a15cbd (patch)
tree2dbbcedbfad8a317fb733dae22777534cc53db85 /debian/apache2.postinst
parentSetting HSTS options to "max-age=63072000; includeSubDomains; preload". (diff)
downloadapache2-cef47e4e51a448cf71fcbea5ed13d17b74a15cbd.tar.xz
apache2-cef47e4e51a448cf71fcbea5ed13d17b74a15cbd.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 39f7d2b..47e5a61 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 ; do
+ csp hsts modern-cookies ; do
a2enconf -m -q $conf
done
fi