Replies: 1 comment 15 replies
-
Have you tried looking at NPM access logs? |
Beta Was this translation helpful? Give feedback.
15 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I've had this issue for a while now and I've only recently needed it fixing so I'm asking here since I think it's semi related to Nginx/PM the most.
To sum it up, I have NPM in a docker container. Everything works. All my proxies work fine from the outside. So if I go to
xyz.my-domain.com
it brings up whatever it is atxyz
. But if I curl that url from within another container, it resolves my domain to my IP address then says "Trying my-ip:443" and eventually just times out.This unfortunately means I can't setup Authentik's OpenID Connect in services that support it since I can't access my domain from inside a container. And before you ask, yes I can access authentik from within another container if its on the same network but that causes authentik to provide the wrong urls.
This issue isn't just with Authentik. It doesn't matter what a container is hosting, it doesn't work using it's domain when curl'ing said domain from another container.
Is this a Docker issue, Nginx/PM issue or what? I just don't understand what could cause it to time out like this.
For those curious, here is
curl -vk https://auth.my-domain.com/
from within Gitea.Beta Was this translation helpful? Give feedback.
All reactions