ffeyel
09.12.2018, 21:49
Hi everyone,
I need to setup an http reverse proxy to access a P4 (in this configuration, port forwarding is not an option).
I'm using Apache, latest version.
So
1- I reverse proxied to the profilux (port 80) from an https external URL
2- I configured also the websocket /ws/ to be proxyfied
So the config looks like ('profilux' is the name pointing to the internal IP of the P4):
<Location /profi/>
Order deny,allow
Allow from all
ProxyPass http://profilux/
ProxyPassReverse http://profilux/
</Location>
<Location /profi/ws>
Order deny,allow
Allow from all
ProxyPass ws://profilux/ws
</Location>
It starts to load, but complains that it cannot connect to the P4.
Do you have any idea on what's going wrong ?
Thanks !
I need to setup an http reverse proxy to access a P4 (in this configuration, port forwarding is not an option).
I'm using Apache, latest version.
So
1- I reverse proxied to the profilux (port 80) from an https external URL
2- I configured also the websocket /ws/ to be proxyfied
So the config looks like ('profilux' is the name pointing to the internal IP of the P4):
<Location /profi/>
Order deny,allow
Allow from all
ProxyPass http://profilux/
ProxyPassReverse http://profilux/
</Location>
<Location /profi/ws>
Order deny,allow
Allow from all
ProxyPass ws://profilux/ws
</Location>
It starts to load, but complains that it cannot connect to the P4.
Do you have any idea on what's going wrong ?
Thanks !