summaryrefslogtreecommitdiff
path: root/res/apache
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-04-21 18:22:51 +0300
committerLV-426 <lv-426@taproot.org.il>2015-04-21 23:33:39 +0300
commit8106c496186e95a2b54533647e35f4828cf63346 (patch)
treee3c3dd5649490c878a0cf0f0fffd1834878fcf9a /res/apache
parentef187ff81ee92277f78ec8250300ff5f8d367606 (diff)
'rhizi.local' apache site template
Diffstat (limited to 'res/apache')
-rw-r--r--res/apache/sites-availalbe/rhizi.local.conf32
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