Connection and Session issues (new install)
-
@ben-coyle2 No, I don't think you are being stupid or dim. Apparently there are gremlins afoot here. Post up your nginx config, eh?
-
@gotwf said in Connection and Session issues (new install):
@ben-coyle2 No, I don't think you are being stupid or dim. Apparently there are gremlins afoot here. Post up your nginx config, eh?
This stuff is honestly really hard. I support these all the time and have for years and new installs that deviate from an established pattern in any way risk having these problems each time. We feel you.
-
server { listen 80; server_name heroicsky.co.uk; location / { - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin (pastebin.com)
I think that's what you mean by Nginx config & I wouldn't be surprised if I've done something wrong with this
-
That doesn't seem to be all of it?
It's only listening on 80, no HTTPS here?
-
Instead of posting with Pastebin, if you post directly here it'll show the entire code, not just part of it.
-
here is a current modern Nginx conf that I have that is working right now. Like you, this one doesn't handle HTTPS or 443. That's handled by another proxy in front of this one.
server { listen 80; client_max_body_size 80M; server_name your.site.name; location / { proxy_pass http://192.168.1.10:4567/; proxy_redirect off; 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; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } }
-
Looks awfully similar to me.
-
So;
After this really helpful information above (I would never have thought to check NGINX) I found this https://docs.nodebb.org/configuring/proxies/nginx/ which I followed to set up with the SSL
I then followed a digitalocean link which showed me how to install the certificate
and it seems to have workedThank you all so much for your help!
-
@ben-coyle2 Cool, cool, cool!
You persisted, teased out the gremlins and finally got things working. Good job!
Now the real fun begins