Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (35 sloc) 1.46 KB
# Modify this file accordingly to
# lib/Slovo/resources/etc/slovo.conf and include it in Apache config.
# SLOVO_DOMOVE is $MOJO_HOME/domove
# Define SLOVO_DOMOVE "/home/${USER}/opt/slovo/domove"
# Include "${SLOVO_DOMOVE}/localhost/apache2.4-vhost.conf"
Listen 3001
<VirtualHost 127.0.0.1:3001>
ServerAdmin webmaster@bg.localhost
DocumentRoot "${SLOVO_DOMOVE}/localhost/public"
ServerName bg.localhost
ServerAlias en.localhost
# See http://localhost:8080/manual/mod/core.html#loglevel
# Log level keyword must be one of emerg/alert/crit/error/warn/notice/info/debug/trace1/.../trace8
LogLevel info rewrite:trace2 proxy:trace1
ErrorLog "${SLOVO_DOMOVE}/log/localhost-error_log"
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" common
CustomLog "${SLOVO_DOMOVE}/log/localhost-access_log" common
<Directory "${SLOVO_DOMOVE}/localhost/public">
Options +Indexes +FollowSymLinks -ExecCGI
#AllowOverride All
AllowOverride None
#see http://httpd.apache.org/docs/2.4/upgrading.html
#2.4 configuration:
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
</Directory>
ProxyRequests Off
# Needed to recognise and serve content for the right domain.
# Crucial for multidomain support
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:9090/ keepalive=On
ProxyPassReverse / http://127.0.0.1:9090/
RequestHeader set X-Forwarded-Proto "http"
</VirtualHost>