I run into the same issue with nginx without any Cloudfare rules set for the forum and without any CDN active, so the webserver serves content directly.
Fix:
NodeBB
config.json
There should be no forward slash at the end which complies with the documentation:
"url": "https://blabla.com/forum",
nginx.conf
here note the double slash on the first line /forum/
The double slash solves the issue, at least during initial testing on different browsers and devices.
Not sure if this is a Windows/nginx specific thing as the path's are set a bit different.
[...]
location /forum/ {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
# proxy_pass http://127.0.0.1:4567;
proxy_pass http://io_nodes;
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}