Adapt httpd_vhost.conf sample

master
Daniel Berteaud 10 years ago
parent d0ded1c543
commit a6beecdbd4
  1. 7
      conf/httpd_vhost.conf

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

Loading…
Cancel
Save