This is my first run on TiddlyWiki/nginx/Node.js. Hints on where to read would be great.
In my in-house machine, it’s working well. Mostly I followed this page:
Setting Up Tiddlywiki Behind Nginx · Brool
At home, I’ve had no issues.
Remotely though:
First, as a test, I ran it in http, not https. In that state, it works. There’s a long pause on the initial connection. My guess is the VM hosting service doing something to stop bad things. Very good. Carrying on.
When I switch to the https state, connections are immediate and fail.
The nginx session is running fine. Connections to its root are successful. Connection to a deliberate 404 fail appropriately.
When I try to connect to the wiki I get a 502, “Bad Gateway”.
On the server’s error log we see, one line:
2022/02/07 19:17:01 [error] 4508#0: *11 connect() failed (111: Connection refused) while connecting to upstream, client: 207.98.188.118, server: [web servers’s name], request: “GET /dm/ HTTP/1.1”, upstream: “http://127.0.0.1:8087/”, host: “[web server’s name]”
I’m guessing this is something obvious…?
Thanks.