diff --git a/entrypoint.sh b/entrypoint.sh
index 58029d7fb71084420de5d28a6c0ab55d889f29d4..6deb6db4ccb2316f5c5540e0d6a59e4cb287f398 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 4811bec045d7cbfe1dffb3a6ab43c2b294fd24e2..684330432b27cb8909cd84eb13f3744eb6132e5f 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