Files
chat_grid/deploy/apache/chgrid-vhost-snippet.conf

16 lines
705 B
Plaintext
Raw Normal View History

2026-02-20 08:16:43 -05:00
# Add inside your SSL VirtualHost include for bestmidi.com.
# Keep your existing main DocumentRoot unchanged when hosting Chat Grid under /chgrid.
# Required modules: proxy, proxy_http, proxy_wstunnel
# Optional but recommended modules for client update freshness: headers, setenvif
2026-02-20 08:16:43 -05:00
# Proxy websocket signaling endpoint to local Python service.
ProxyPass /ws ws://127.0.0.1:8765
ProxyPassReverse /ws ws://127.0.0.1:8765
# Ensure HTML entrypoint is never cached so version updates are picked up quickly.
<LocationMatch "^/chgrid/?$|^/chgrid/index\\.html$">
Header set Cache-Control "no-store, no-cache, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "0"
</LocationMatch>