Setting up a proxy forward to my Synology NAS hosted instance #228
-
|
Hi, I have been running Foundry just fine on my Synology NAS for the past year or so, but I always accessed it with my public ip and port. I want to enable the webcam support, and as far as I understand for that I need to set up a certificate, and to set up a certificate I need to have a domain to set it up for. So I went to my webhost, added a subdomain, and made it a proxy forward to my Foundry IP/Port. When I access it in browser, I get the landing page, but nothing loads otherwise. In the console I get a bunch of the following error: I probably need to configure something somewhere, but I am not sure how to do it. In the docker-compose.yml file I set hostname to my.domain.com, and added environment variables for FOUNDRY_HOSTNAME and FOUNDRY_LOCAL_HOSTNAME and set them both to my.domain.com as well. But this didn't resolve the problem. I tried playing with setting FOUNDRY_PROXY_PORT to 80 and 30000, to see if that made a difference, but it only caused for the server to be inaccessible (HTTP 502 Proxy Error). I saw some random things online about it, this thread being the closest: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
So, thanks to the help of STB from the Foundry discord, this has been resolved. I had to tackle a bunch of different steps:
|
Beta Was this translation helpful? Give feedback.

So, thanks to the help of STB from the Foundry discord, this has been resolved. I had to tackle a bunch of different steps:
3b. On the Reverse Proxy entry, you can also add Custom Headers, if you go to that tab, the Create button has a dropdown box for Websocket which you can click to automatically fill in websocket entries.