-
Notifications
You must be signed in to change notification settings - Fork 9
/
apache-quebec.conf
32 lines (24 loc) · 981 Bytes
/
apache-quebec.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Apache configuration file to run Docker host at quebec247.org
# a2enmod proxy
# a2enmod proxy_http
<VirtualHost *:80>
<Directory />
Order Deny,Allow
Allow from all
</Directory>
ServerAdmin [email protected]
ProxyPass /media http://localhost:8080/media
ProxyPassReverse /media http://localhost:8080/media
ProxyPass /adagios/rest/status/json/services http://localhost:8080/adagios/rest/status/json/services
ProxyPassReverse /adagios/rest/status/json/services http://localhost:8080/adagios/rest/status/json/services
# analytics
# see https://github.com/matthieucan/Dockerfiles/tree/master/piwik
ProxyPass /piwik http://localhost:8081/piwik
ProxyPassReverse /piwik http://localhost:8081/piwik
ProxyPass / http://localhost:8080/app/
ProxyPassReverse / http://localhost:8080/app/
ProxyErrorOverride On
ErrorDocument 404 /
ErrorDocument 500 /
ServerName quebec247.org
</VirtualHost>