Add websocket support to Apache vhost template

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-12-10 10:21:54 +01:00
parent 8b95a9a0b1
commit 1d9bf70e5e
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -69,7 +69,10 @@
#FileETag None
#TraceEnable off
<Location />
ProxyPass ws://${mob_url}:${mob_port}/
ProxyPassReverse ws://${mob_url}:${mob_port}/
ProxyPass http://${mob_url}:${mob_port}/
ProxyPassReverse http://${mob_url}:${mob_port}/
</Location>
<FilesMatch ^/(js|css)$>
Header append Cache-Control "public, max-age=31536000, immutable"