adap apache2 configuration for apache 2.4

This commit is contained in:
Benjamin Dauvergne 2016-03-15 01:33:53 +01:00
parent 3a598b4dd9
commit 5972142d97
1 changed files with 6 additions and 1 deletions

View File

@ -44,7 +44,12 @@
RequestHeader set X-Forwarded-Protocol ssl
RequestHeader set X-Forwarded-Proto https
Alias /static /var/lib/authentic2/collectstatic
Alias /static /var/lib/authentic2/collectstatic
<IfVersion >= 2.3>
<Locaton /static>
Require all granted
</Location>
</IfVersion>
ProxyPass /static !
ProxyPass / http://127.0.0.1:8080/