I've downloaded the ServerExampleNoMySQL.b4j project from [WebApp] Web Apps Overview. It is now running at B4XDev.com/webapp/.
However, some of the pages don't seem to be loading correctly (e.g., the Quiz App).
I am passing websocket requests thru nginx. Here, the relevant parts, is my config file for that:
So, I have the Upgrade and Connection headers set. What might be wrong?
However, some of the pages don't seem to be loading correctly (e.g., the Quiz App).
I am passing websocket requests thru nginx. Here, the relevant parts, is my config file for that:
B4X:
server {
location /webapp/ {
proxy_pass http://127.0.0.1:51042/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $http_x_forwarded_for;
proxy_redirect http://$host:51042/ http://$host/webapp/;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
So, I have the Upgrade and Connection headers set. What might be wrong?
Last edited: