Replies: 2 comments
-
As a note, both instances are accessible through http when running simultaneously, but not https. Attempting to reach each through https gives the following in nginx errors log:
When running separately each container works fully through https. |
Beta Was this translation helpful? Give feedback.
-
I am not familiar with Nginx, but I have two Foundry containers running with it being reverse proxied without issue. I also have it running behind Authelia as Foundry was being hit alot which is why you see the forward auth command.
If you are reverse proxying through nginx you should need to open the Foundry ports at all on the Azure VM to any connections. You should only need to allow HTTP and HTTPS. In your example conf for 1 you also have the wrong port which Im guessing is a copy/paste error as you have it working by itself.
|
Beta Was this translation helpful? Give feedback.
-
I'm trying to setup two different docker containers hosted on the same server under different subdomains. I've gotten each container to work on its own, but when trying to run at the same time one of them consistently gives a 502 error. I've been troubleshooting this for a couple days and am rather confounded. Any help would be greatly appreciated.
docker_compose.yml
Nginx configs
example1.conf
example2.conf
I'm running on an Azure VM with the port rules shown in the attached image
Beta Was this translation helpful? Give feedback.
All reactions