Typhonragewind / meshcentral-docker

163 stars 46 forks source link

Help with 502 Bad Gateway - new Container #40

Closed FreeJack-McGee closed 9 months ago

FreeJack-McGee commented 9 months ago

Greetings, I'm searching for some assistance in correcting a 502 Bad Gateway error upon a fresh Docker-Compose container behind a Nginx Proxy Manager. Mesh Central seems to be working fine if I navigate to the proxy manager and port (https://10.100.40.10:8086) but when I try to use my FDQN I get the infamous 502 Bad Gateway. I'm not sure if this is an issue but when I connect to the bash and look at the files, I only see the config.json.template file. It has what it looks like the example text.

My Ngnix Proxy Manager has a new Let's Encrypt certificate for my domain and it is assigned to the host entry. I just can't locate the issue.

Any help would be appreciated. Thank you.

FreeJack-McGee commented 9 months ago

AH!!! Corrected it! I had the host scheme set to "http" Should be "https". Seems to be working fine now. Thank you for this setup!