Define rzi_root /srv/www/rhizi/mux-root.d/{{ domain_fqdn }}
Define rzi_webapp ${rzi_root}/webapp
Define rzi_fragment_d ${rzi_webapp}/fragment.d
ServerName {{ domain_fqdn }}
DocumentRoot ${rzi_webapp}
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]
ProxyPass /fragment.d !
#
# [!] proxy directives are order sensitive
#
# Temporary fix until #529 is implemented
ProxyPass /fragment.d !
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 }}/
Require all denied
Options +FollowSymLinks
Require all granted