salsa: require all granted on the document root
[mirror/dsa-puppet.git] / modules / salsa / templates / apache-salsa.debian.org.conf.erb
index a417e8e..e849856 100644 (file)
@@ -12,12 +12,15 @@ Use common-debian-service-https-redirect * salsa.debian.org
        CustomLog /var/log/apache2/salsa.debian.org-access.log privacy
 
        DocumentRoot /srv/salsa.debian.org/gitlab/public
+       <Directory /srv/salsa.debian.org/gitlab/public>
+               Require all granted
+       </Directory>
 
        ProxyPreserveHost On
        AllowEncodedSlashes NoDecode
 
-       ProxyPassReverse http://127.0.0.1:8080/
-       ProxyPassReverse http://salsa.debian.org/
+       ProxyPassReverse http://127.0.0.1:8080/
+       ProxyPassReverse http://salsa.debian.org/
 
        RewriteEngine on
        RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f [OR]