PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Profilux4 behind a reverse proxy



ffeyel
09.12.2018, 20: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 !

MatthiasF
11.12.2018, 15:43
Hello,

unforuntately websocket proxying does not work in this case. Alternatively consider using myGHL: https://myghl.com/

ffeyel
11.12.2018, 16:07
Using MyGHL is definitely not an option, it raises a lot of major security issues, and thus cannot be used in a profesional environment.

Why websocket proxying could not be used ? Tunneliing the 80 port trough ssh works perfectly, which indicated that the proxy should work.

Could you elaborate a bit more your answer ? A "no" answer is not acceptable, I need you to describe a bit more how you developed your app...