Hi guys, first off, thank you so much for the supports! Please read my full issue as I have a little bit of explaining to do.
Here is the error I'm seeing:
Looks like your connection to NodeBB was lost, please wait while we try to reconnect.
You see, I have seen this post but the issue seems unrelated.
Here is my nodebb config.json
at all time:
{
"url": "http://static-external-ip:4567",
"secret": "0c2fa0de-5bc4-4e59-8b4b-3eea84f98beb",
"database": "mongo",
"mongo": {
"host": "x.x.x.x",
"port": "x",
"username": "x",
"password": "x",
"database": "x",
"uri": ""
},
"port": "4567"
}
Alright here is the actual issue description:
- This nginx config without ssl works:
server {
listen 80;
server_name static-external-ip;
location / {
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_redirect off;
# Socket.IO Support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
I can visit my ip address and everything works fine just as expected.
- This nginx config doesn't:
server {
listen [::]:443 ssl;
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/my-domain/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/my-domain/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
server_name mydomain www.mydomain;
location / {
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_redirect off;
# Socket.IO Support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
With the above config, visiting my webpage gives me a:
Looks like your connection to NodeBB was lost, please wait while we try to reconnect.

I bought my domain from Google Domain, and it requires ssl. Any pointer would be greatly appreciated!
Thanks