mirror of
https://github.com/dani/vroom.git
synced 2024-06-29 15:03:41 +02:00
Adapt httpd_vhost.conf sample
This commit is contained in:
parent
d0ded1c543
commit
a6beecdbd4
|
@ -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…
Reference in New Issue
Block a user