diff options
Diffstat (limited to 'res/apache')
| -rw-r--r-- | res/apache/sites-availalbe/rhizi.local.conf | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/res/apache/sites-availalbe/rhizi.local.conf b/res/apache/sites-availalbe/rhizi.local.conf new file mode 100644 index 00000000..098c7d88 --- /dev/null +++ b/res/apache/sites-availalbe/rhizi.local.conf @@ -0,0 +1,32 @@ +<VirtualHost *:80> + + ServerName rhizi.local + DocumentRoot /srv/www/rhizi/webapp + + LogLevel info + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access_rhizi.local.log combined + + SetOutputFilter DEFLATE + + RewriteEngine On + RewriteRule ^/?$ /index [L,R] + + # [!] order critical + ProxyRequests Off + ProxyPreserveHost On + ProxyPass /socket.io/ ws://127.0.0.1:8080/socket.io/ + ProxyPass / http://127.0.0.1:8080/ + ProxyPassReverse / http://rhizi.local/ + + <Directory /srv/www/rhizi/auth > + Require all denied + </Directory> + + <Directory /srv/www/rhizi/webapp > + Options +FollowSymLinks + + Require all granted + </Directory> + +</VirtualHost>
\ No newline at end of file |
