From 24c1925052f686da22979b863b05ae4368177c3c Mon Sep 17 00:00:00 2001 From: Karl Hepworth Date: Tue, 11 Jul 2023 11:52:46 +1000 Subject: [PATCH 1/2] Update 50_overrides.ini --- base/conf.d/50_overrides.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/base/conf.d/50_overrides.ini b/base/conf.d/50_overrides.ini index 1f9aecb..5452921 100644 --- a/base/conf.d/50_overrides.ini +++ b/base/conf.d/50_overrides.ini @@ -11,4 +11,7 @@ upload_max_filesize = 20M opcache.max_accelerated_files = 30000 # Increase maximum length of logs. -log_errors_max_len = ${PHP_LOG_LIMIT} \ No newline at end of file +log_errors_max_len = ${PHP_LOG_LIMIT} + +# Enable secure cookies by default +session.cookie_httponly = true From 5daeedbb9e789550df0ce3bede68ffa7d797a3c6 Mon Sep 17 00:00:00 2001 From: Karl Hepworth Date: Tue, 11 Jul 2023 16:14:34 +1000 Subject: [PATCH 2/2] Update 50_overrides.ini --- base/conf.d/50_overrides.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/base/conf.d/50_overrides.ini b/base/conf.d/50_overrides.ini index 5452921..8c53eee 100644 --- a/base/conf.d/50_overrides.ini +++ b/base/conf.d/50_overrides.ini @@ -15,3 +15,4 @@ log_errors_max_len = ${PHP_LOG_LIMIT} # Enable secure cookies by default session.cookie_httponly = true +session.cookie_secure = true