From 186b9b7a25c8c03e5cabb59b917cbe15fcc9681b Mon Sep 17 00:00:00 2001
From: jonasled <1-jonasled@users.noreply.gitlab.jonasled.de>
Date: Thu, 25 Mar 2021 14:44:16 +0000
Subject: [PATCH] enable apache modules

---
 Dockerfile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index 9b8de60..bc134b0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -25,6 +25,11 @@ RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
 # |--------------------------------------------------------------------------
 COPY --from=build /build/public /var/www/html
 
+# |--------------------------------------------------------------------------
+# | enable apache modules
+# |--------------------------------------------------------------------------
+RUN a2enmod headers rewrite
+
 # |--------------------------------------------------------------------------
 # | expose http port
 # |--------------------------------------------------------------------------
-- 
GitLab