From 5dd9e49606e6eb1087ae4c7e19ea38a21968bed8 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Fri, 10 Nov 2023 16:34:14 +0100
Subject: [PATCH] ad apache headers module by default

---
 docker/init.sh.cfg | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/docker/init.sh.cfg b/docker/init.sh.cfg
index b2834da..73cea4b 100644
--- a/docker/init.sh.cfg
+++ b/docker/init.sh.cfg
@@ -2,7 +2,9 @@
 #
 # settings for init.sh and base values for replacements in template files
 # This script is sourced by init.sh ... this file is bash syntax
-# 
+#
+# DOCS: https://os-docs.iml.unibe.ch/docker-php-starterkit/Configuration/init.sh.cfg.html
+#
 # ----------------------------------------------------------------------
 # 2021-12-17  <axel.hahn@iml.unibe.ch>
 # ======================================================================
@@ -14,8 +16,9 @@ APP_PORT=8001
 
 APP_APT_PACKAGES="git unzip zip"
 
-#APP_APACHE_MODULES="rewrite"
-APP_APACHE_MODULES=""
+# headers is needed to set security headers.
+# APP_APACHE_MODULES="headers rewrite"
+APP_APACHE_MODULES="headers"
 
 APP_PHP_VERSION=8.2
 # APP_PHP_MODULES="curl pdo_mysql mbstring xml zip xdebug"
-- 
GitLab