W wl Well-Known Member Licensed User Longtime User Jun 28, 2014 #1 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 Code: Copy proxy_set_header Host $host:$server_port; in the proxy.conf, but it does not seem to help... Thanks !
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 Code: Copy proxy_set_header Host $host:$server_port; in the proxy.conf, but it does not seem to help... Thanks !
W wl Well-Known Member Licensed User Longtime User Jun 28, 2014 #2 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
UPDATE: it seems the chatroom application just does not run on port 80. When I change it back to port 8080 it is working ...
Erel B4X founder Staff member Licensed User Longtime User Jun 29, 2014 #3 The server can run on any port you set it. You should make sure that your reverse proxy server supports web sockets. Upvote 0
The server can run on any port you set it. You should make sure that your reverse proxy server supports web sockets.
W wl Well-Known Member Licensed User Longtime User Jun 29, 2014 #4 Thanks Erel, This is what is to be set for nginx: http://nginx.com/blog/websocket-nginx/ My Internet explorer still behaves strangely, but this has nothing to do with the reverse proxy. Upvote 0
Thanks Erel, This is what is to be set for nginx: http://nginx.com/blog/websocket-nginx/ My Internet explorer still behaves strangely, but this has nothing to do with the reverse proxy.
Erel B4X founder Staff member Licensed User Longtime User Jun 29, 2014 #5 My guess is that there is already another server listening on port 80. Upvote 0