Add websocket support to Apache vhost template
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
8b95a9a0b1
commit
1d9bf70e5e
|
@ -69,7 +69,10 @@
|
||||||
#FileETag None
|
#FileETag None
|
||||||
#TraceEnable off
|
#TraceEnable off
|
||||||
<Location />
|
<Location />
|
||||||
|
ProxyPass ws://${mob_url}:${mob_port}/
|
||||||
|
ProxyPassReverse ws://${mob_url}:${mob_port}/
|
||||||
ProxyPass http://${mob_url}:${mob_port}/
|
ProxyPass http://${mob_url}:${mob_port}/
|
||||||
|
ProxyPassReverse http://${mob_url}:${mob_port}/
|
||||||
</Location>
|
</Location>
|
||||||
<FilesMatch ^/(js|css)$>
|
<FilesMatch ^/(js|css)$>
|
||||||
Header append Cache-Control "public, max-age=31536000, immutable"
|
Header append Cache-Control "public, max-age=31536000, immutable"
|
||||||
|
|
Loading…
Reference in a new issue