|
|
|
@ -12,10 +12,10 @@ |
|
|
|
|
ProxyPassReverse /socket.io/1/websocket ws://localhost:8888/socket.io/1/websocket |
|
|
|
|
ProxyPass /socket.io/ http://localhost:8888/socket.io/ |
|
|
|
|
ProxyPassReverse /socket.io/ http://localhost:8888/socket.io/ |
|
|
|
|
AliasMatch ^/(\d{10}/)?((js|css|img|fonts|snd)/.*) /opt/vroom/public/$2 |
|
|
|
|
AliasMatch ^/([a-z]{2}/)?(\d{10}/)?((js|css|img|fonts|snd)/.*) /opt/vroom/public/$3 |
|
|
|
|
RewriteEngine On |
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f |
|
|
|
|
RewriteRule ^/(\d{10}/)?(js|css|img|fonts|snd)/(.*)$ /$2/$3 [L] |
|
|
|
|
RewriteRule ^/([a-z]{2}/)?(\d{10}/)?(js|css|img|fonts|snd)/(.*)$ /$3/$4 [L] |
|
|
|
|
ScriptAlias / /opt/vroom/public/vroom.pl/ |
|
|
|
|
<Location /> |
|
|
|
|
require all granted |
|
|
|
@ -31,7 +31,7 @@ |
|
|
|
|
Header append Vary User-Agent env=!dont-vary |
|
|
|
|
</IfModule> |
|
|
|
|
</Location> |
|
|
|
|
<LocationMatch "^/((js|css|img|fonts|snd)/)"> |
|
|
|
|
<LocationMatch "^/([a-z]{2}/)?(\d{10}/)?(js|css|img|fonts|snd)/"> |
|
|
|
|
<IfModule mod_expires.c> |
|
|
|
|
ExpiresActive On |
|
|
|
|
ExpiresDefault "access plus 1 month" |