ZZROTDesign / alpine-caddy

Alpine Linux Docker Container running Caddyserver
MIT License
105 stars 35 forks source link

502s on some machines/systems? #6

Closed princemaple closed 8 years ago

princemaple commented 8 years ago

Hi,

so I have this setup https://gist.github.com/princemaple/276e27e135cd78c7d8ba26519bd39d69

When I tested it locally on boot2docker, I managed to get everything working as expected. When I tested the same setup on a VPS with real linux, I got 502s from Caddy. Funny thing is, I tried ping web and curl web:8080 in the running Caddy container, both worked perfectly.

Have you encountered anything similar before?

Thanks, Po

princemaple commented 8 years ago

phew, found a workaround: network alias.