From af5d4fbafec9ea20f00b12d36c9a11abcad9c009 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@sedlistka.cz>
Date: Thu, 12 Dec 2019 16:29:16 +0100
Subject: [PATCH] Ostranena chybna konfigurace SSL

---
 entrypoint.sh        | 2 --
 mod_auth_mellon.conf | 3 ---
 2 files changed, 5 deletions(-)

diff --git a/entrypoint.sh b/entrypoint.sh
index 58029d7..6deb6db 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -29,8 +29,6 @@ if [ ! -f /etc/apache2/saml2/idp.xml ]; then
     curl $IDP_METADATA > /etc/apache2/saml2/idp.xml
 fi
 
-sed -i "/{{HOST}}/${HOST}/" /etc/apache2/conf-enabled/mod_auth_mellon.conf
-
 # Create mod_auth_mellon service provider config
 if [ ! -f /etc/apache2/saml2/sp.xml ]; then
     pushd /etc/apache2/saml2
diff --git a/mod_auth_mellon.conf b/mod_auth_mellon.conf
index 4811bec..6843304 100644
--- a/mod_auth_mellon.conf
+++ b/mod_auth_mellon.conf
@@ -1,6 +1,3 @@
-ServerName https://{{HOST}}
-SetEnv HTTPS
-
 <Location / >
  MellonEnable info
  MellonEndpointPath /mellon
-- 
GitLab