# Add inside your SSL VirtualHost include for your domain. # 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 # Set the public browser origin for websocket and media-proxy origin checks. # Example: # SetEnv CHGRID_HOST_ORIGIN https://example.com # Proxy websocket signaling endpoint to local Python service. # Replace `/chgrid/` with the same value configured in `server.base_path`. ProxyPass /chgrid/ws ws://127.0.0.1:8765/chgrid/ws ProxyPassReverse /chgrid/ws ws://127.0.0.1:8765/chgrid/ws # Proxy auth cookie helper endpoints to local Python service. # These paths should live under the same instance base path. ProxyPass /chgrid/auth/session/ http://127.0.0.1:8765/chgrid/auth/session/ ProxyPassReverse /chgrid/auth/session/ http://127.0.0.1:8765/chgrid/auth/session/ # Ensure HTML entrypoint is never cached so version updates are picked up quickly. Header set Cache-Control "no-store, no-cache, must-revalidate" Header set Pragma "no-cache" Header set Expires "0"