From 12b056db3268acbd95b7aa2d550293401a465424 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@x2.cz>
Date: Wed, 9 Nov 2022 18:46:45 +0100
Subject: [PATCH] Enable SSL

---
 .gitlab-ci.yml | 2 +-
 Dockerfile     | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0adc8ad..683f8a0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,7 +2,7 @@ image: docker:20.10.9
 
 variables:
   DOCKER_TLS_CERTDIR: "/certs"
-  BUILD_VERSION: p1
+  BUILD_VERSION: p2
 
 services:
   - docker:20.10.9-dind
diff --git a/Dockerfile b/Dockerfile
index aa92f55..9c26941 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,5 +16,6 @@ RUN set -ex; \
 
 COPY entrypoint.sh entrypoint.sh
 ADD mod_auth_mellon.conf /etc/apache2/conf-enabled/mod_auth_mellon.conf
+RUN a2ensite default-ssl; a2enmod headers rewrite remoteip ssl
 
 USER www-data
-- 
GitLab