From eb2ff94f9a3bb8efff611d7bc936237f1032ec5d Mon Sep 17 00:00:00 2001
From: Mathieu Ruellan <mathieu.ruellan@gmail.com>
Date: Sat, 4 Jun 2022 23:12:29 +0200
Subject: [PATCH] fix(reverseproxy): set ssl on apache, otherwise batch does
 not work

---
 entrypoint.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/entrypoint.sh b/entrypoint.sh
index 216cefe..8f04c00 100644
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -11,6 +11,7 @@ find /config/php/apache2.d -type f | while read file; do
 done;
 
 sed -i "s/\/var\/www\/html/\/var\/www/g"  /etc/apache2/sites-enabled/000-default.conf
+sed -i '/^\s*DocumentRoot.*/a \\tSetEnv HTTPS on' /etc/apache2/sites-enabled/000-default.conf
 
 chown -R www-data:www-data /var/www
 
-- 
GitLab