Sample: Reverse Proxy Configuration Using httpd.confIf you are using Listen 443 <VirtualHost *:443> <Location /3DSpace> … </Location> # 3DLeanLive <Location /3DSpace/3dlean/live> ProxyPass ws://3dspace.mydomain:10490/3DSpace/3dlean/live ProxyPassReverse ws://3dspace.mydomain:10490/3DSpace/3dlean/live </Location> </VirtualHost> Else, add the following modification: Note:
Be careful to respect the order between
/3DSpace/3DLean/live and
3DSpace .Listen 443 <VirtualHost *:443> # Reverse Proxy Web Socket rules as to appear before the Webapp "/3DSpace" rule ProxyPass /3DSpace/3dlean/live ws://3dspace.mydomain:10490/3DSpace/3dlean/live ProxyPassReverse /3DSpace/3dlean/live ws://3dspace.mydomain:10490/3DSpace/3dlean/live … # 3DSpace conf is defined after in this case ProxyPass /3DSpace http://3dspace.mydomain:10490/3DSpace ProxyPassReverse /3DSpace http://3dspace.mydomain:10490/3DSpace </VirtualHost> |