phpipam + nginx-proxy = connection refused #2647
Unanswered
Leniwcowaty
asked this question in
Q&A
Replies: 1 comment
-
|
Try the envvar - |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there.
I have setup of 4 Docker projects:
I decided to use nginx-proxy to provide SSL and reverse-proxy to my services. All of them have in docker-compose.yml lines:
- VIRTUAL_HOST=<service>.<domain>.<tld>- VIRTUAL_PORT=<port>- VIRTUAL_PATH=/(of course stuff in <> is properly configured)
As well as (including nginx-proxy):
network_mode: proxy-networkWith Heimdall and Privatebin it works like a charm - SSL is being applied, reverse proxy works. Only when I get to PHPIpam I get 502 error. When looking at
docker logs nginx-proxyI see this error:nginx.1 | 2023/09/26 13:26:49 [error] 35#35: *1 connect() failed (111: Connection refused) while connecting to upstream, client: <client IP>, server: phpipam.<domain>.<tld>, request: "GET / HTTP/2.0", upstream: "http://<docker network IP>:80/", host: "phpipam.<domain>.<tld>" nginx.1 | phpipam.<domain>.<tld> <client IP> - - [26/Sep/2023:13:26:49 +0000] "GET / HTTP/2.0" 502 157 "-" "curl/7.81.0" "<docker network IP>:80"So it looks like PHPIpam is refusing connection? But is this even possible in Docker? I tried with and without UFW, multiple subdomains. Nothing helps.
Please provide me with some info on how I can resolve this issue...
OS: Ubuntu Server 22.04.3
Docker version: 24.0.6 (from apt)
Beta Was this translation helpful? Give feedback.
All reactions