Jump to content

Recommended Posts

Posted

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.
Posted

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.

  • Krydos changed the title to [Solved] Apache as a reverse proxy
  • Krydos locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...