summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2016-03-15 00:33:53 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2016-03-15 00:33:53 (GMT)
commit5972142d9703cd544a87f5199869f35a7cd53c9a (patch)
tree2f3ba5094f4a7c5602b47fb7c83e1b190b93cf68
parent3a598b4dd93d033a43f77c1ac1b6dc32015b6e12 (diff)
downloadauthentic2-supann-5972142d9703cd544a87f5199869f35a7cd53c9a.zip
authentic2-supann-5972142d9703cd544a87f5199869f35a7cd53c9a.tar.gz
authentic2-supann-5972142d9703cd544a87f5199869f35a7cd53c9a.tar.bz2
adap apache2 configuration for apache 2.4v0.16
-rw-r--r--authentic2-supann.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/authentic2-supann.conf b/authentic2-supann.conf
index 87226e6..6d4999b 100644
--- a/authentic2-supann.conf
+++ b/authentic2-supann.conf
@@ -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/