sat4all Posted October 7 Posted October 7 Hello Is apache operate like reverse proxy to handle websockect to ASGI like uvicorn or can be configure this way ?
Krydos Posted October 7 Posted October 7 Have you read https://wiki.helionet.org/FAQ#Does_HelioHost_support_sockets?_Which_ports_are_open?
sat4all Posted October 8 Author Posted October 8 Hi any chance you can provide example for htaccess file ? If you can proxy your websocket through Apache or Nginx, it can work without opening a port: You could use an '.htaccess' file to proxy the websocket connection through Apache.
Krydos Posted October 9 Posted October 9 Something like this may work depending on your software. Make sure the port matches what port your websocket is running on. RewriteEngine on RewriteRule (.*) http://127.0.0.1:33333/$1 [P,L] If it doesn't work let us know and we can try an Nginx proxy instead.
Recommended Posts