1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-26 17:43:29 +02:00

Adapt httpd_vhost.conf sample

This commit is contained in:
Daniel Berteaud 2015-02-12 12:36:11 +01:00
parent d0ded1c543
commit a6beecdbd4

View File

@ -26,20 +26,17 @@
# ProxyPassReverse /etherpad/ http://localhost:9001/
AliasMatch ^/([a-z]{2}/)?(\d{10}/)?((js|css|img|fonts|snd)/.*) /opt/vroom/public/$3
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/([a-z]{2}/)?(\d{10}/)?(js|css|img|fonts|snd)/(.*)$ /$3/$4 [L]
ScriptAlias / /opt/vroom/public/vroom.pl/
ProxyPass / http://127.0.0.1:8090/
ProxyPassReverse / http://127.0.0.1:8090/
<Proxy *>
ProxyPreserveHost On
</Proxy>
<Directory /opt/devroom/public>
Require all granted
SSLRequireSSL on
</Directory>
<Location />
Require all granted
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript text/css
SetOutputFilter DEFLATE