From f0a2ef9d010a5a1872c46abfe58a8cf67e080898 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@sedlistka.cz>
Date: Wed, 11 Dec 2019 20:34:57 +0100
Subject: [PATCH] Presun konfigurace mod_auth_mellon

---
 mod_auth_mellon.conf | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/mod_auth_mellon.conf b/mod_auth_mellon.conf
index 508dc4e..cda2562 100644
--- a/mod_auth_mellon.conf
+++ b/mod_auth_mellon.conf
@@ -1,14 +1,10 @@
-<Location />
-    MellonEnable "info"
-    MellonEndpointPath /mellon
-    MellonSPPrivateKeyFile /etc/apache2/saml2/{{SP_ID}}.key
-    MellonSPCertFile       /etc/apache2/saml2/{{SP_ID}}.cert
-    MellonSPMetadataFile   /etc/apache2/saml2/{{SP_ID}}.xml
-    MellonIdPMetadataFile  /etc/apache2/saml2/idp.xml
-</Location>
-
 <Location /admin >
-   AuthType Mellon
-   MellonEnable auth
-   Require valid-user
+ AuthType Mellon
+ MellonEnable auth
+ MellonEndpointPath /mellon
+ MellonSPPrivateKeyFile /etc/apache2/saml2/{{SP_ID}}.key
+ MellonSPCertFile       /etc/apache2/saml2/{{SP_ID}}.cert
+ MellonSPMetadataFile   /etc/apache2/saml2/{{SP_ID}}.xml
+ MellonIdPMetadataFile  /etc/apache2/saml2/idp.xml
+ Require valid-user
 </Location>
-- 
GitLab