blob: 19679634ce4c2549c13e8871090e580aa9e5fc7c (
plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
|
<VirtualHost *:80>
Define rzi_root /srv/www/rhizi/mux-root.d/{{ domain_fqdn }}/webapp
ServerName {{ domain_fqdn }}
DocumentRoot ${rzi_root}
LogLevel info
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access_{{ domain_fqdn }}.log combined
SetOutputFilter DEFLATE
RewriteEngine On
RewriteRule ^/?$ /index [L,R]
#
# [!] proxy directives are order sensitive
#
# Temporary fix until #529 is implemented
ProxyPass /static/js/model/domain_types.js !
Alias /static/js/model/domain_types.js ${rzi_root}/static/rzi-override.d/js/domain_types.js
# Template fragment overrides - comment out this section to use the defaults
ProxyPass /templates/fragment/ !
Alias /templates/fragment/ ${rzi_root}/rzi-override.d/templates/fragment
ProxyRequests Off
ProxyPreserveHost On
ProxyPass /socket.io/ ws://127.0.0.1:{{ rz_port__http }}/socket.io/
ProxyPass / http://127.0.0.1:{{ rz_port__http }}/
ProxyPassReverse / http://{{ domain_fqdn }}/
<Directory /srv/www/rhizi/mux-root.d/{{ domain_fqdn }}/auth >
Require all denied
</Directory>
<Directory /srv/www/rhizi/mux-root.d/{{ domain_fqdn }}/webapp >
Options +FollowSymLinks
Require all granted
</Directory>
</VirtualHost>
|