From 8106c496186e95a2b54533647e35f4828cf63346 Mon Sep 17 00:00:00 2001 From: LV-426 Date: Tue, 21 Apr 2015 18:22:51 +0300 Subject: 'rhizi.local' apache site template --- res/apache/sites-availalbe/rhizi.local.conf | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 res/apache/sites-availalbe/rhizi.local.conf 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 @@ + + + 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/ + + + Require all denied + + + + Options +FollowSymLinks + + Require all granted + + + \ No newline at end of file -- cgit v1.3.1