B4J Question [Server] Chatroom app behind reverse proxy

wl

Well-Known Member
Licensed User
Longtime User
Hello,

I tried the Chatroom application and ran it on my Raspberry pi on port 8080: this works perfectly.

Then I installed nginx to act as a reverse proxy.
Traffic comming to port 80 (nginx) is to be rerouted to localhost port 8080

When I now go the URL on port 80 I get the login screen (so the routing seems ok) but as soon as I click on the button to login, nothing happens.

I already added

B4X:
proxy_set_header Host $host:$server_port;

in the proxy.conf, but it does not seem to help...

Thanks !
 

wl

Well-Known Member
Licensed User
Longtime User
UPDATE: it seems the chatroom application just does not run on port 80. When I change it back to port 8080 it is working ...
 
Upvote 0
Top