-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker portainer-ce behind reverse-proxy can not accessed #4298
Comments
I pretty much did same thing.....and hit the 502 error wall. Not quite sure what happened |
same thing using traefik (1.7.26) but for me a 404
Strange thing in log (listening on :8000 and starting on :9000 ?)
|
Same here with Traefik 2.2.8, it was working fine before updating to 2.0.
I can still access it through exposed port. |
@billy34 the port 9000 and 8000 are correct. All information are provided into the documentation: https://www.portainer.io/installation/
|
Fixed it by adding port 9000 to the loadbalancer : I'm guessing that in the previous Dockerfile only 9000 was exposed and now 8000 is exposed as well so Traefik doesn't pick the "right" one. |
Yes thats correct, we have now correctly fixed the expose of both Ports in the dockerfile
|
I have updated the release notes to specify this as a breaking change for proxy users: https://github.com/portainer/portainer/releases/tag/2.0.0 I feel that this issue can now be closed, as it is not necessarily a portainer issue but rather a matter of proxy configuration :) |
Yes, I found the solution too with Define port to 80 and add VIRTUAL_PORT env at 9000. |
Following your advices I added a Thank you all |
Bug description
With the previous version 1.24 based on the Docker install, it was possible to use a reverse-proxy to access to portainer.
Here, the compose file used and just remplaced portainer/portainer by portainer/portainer-ce:
jwilder/nginx-proxy
is used as reverse-proxyExpected behavior
Use the same compose file and configuration to use a reverse-proxy
Steps to reproduce the issue:
Technical details:
Additional context
nope
The text was updated successfully, but these errors were encountered: