nginx ssl-terminating reverse proxy to foundryvtt-docker on a separate host #676
-
I have to be missing something silly, here. I've got a docker host on my network @ 192.168.2.210, and FoundryVTT works perfectly fine from http://192.168.2.210:30000. My nginx reverse proxy, when accessing from https://foundry.dowardindustries.com, though, only serves up the background and the WSS connection fails. nginx is on my primary incoming server @ 192.168.2.212, and I'm simply using nginx's reverse proxy to shuffle the traffic from foundry.dowardindustries.com over from 192.168.2.212 to the container @ 192.168.2.210:30000. All works fine locally, but I get wss:// connection errors from https://foundry.dowardindustries.com... nginx configuration:
options.json in the container:
Here's the error:
Yet it works perfectly fine from http://192.168.2.210:30000 when accessed from my local network... Note: I do have multiple other services running via this reverse proxy, to a smattering of other devices around the network, and this is the only one having issues, and I'm 99% certain it's the websocket connecting causing me grief... Seems like I must be missing something basic, here. Appreciate any help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Completed this with help from reddit - turns out, this was all working excellent from external to my network. I added a new A record for my local DNS so that foundry.dowardindustries.com would point to my server when on my local network, and now it's all good. Woo! |
Beta Was this translation helpful? Give feedback.
Completed this with help from reddit - turns out, this was all working excellent from external to my network. I added a new A record for my local DNS so that foundry.dowardindustries.com would point to my server when on my local network, and now it's all good. Woo!