Skip to content
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

verify admin behind proxy #2946

Open
mybigman opened this issue Jun 14, 2019 · 1 comment
Open

verify admin behind proxy #2946

mybigman opened this issue Jun 14, 2019 · 1 comment

Comments

@mybigman
Copy link

Bug description

Portainer behind proxy in sub directory causes "unable to verify administrator account existence"

Expected behavior
Not to display errors

Steps to reproduce the issue:
Install nginx configured as reverse proxy
Install portainer only exposing port 9000
Configure nginx to point to sub directory

As per https://portainer.readthedocs.io/en/stable/faq.html#how-can-i-configure-my-reverse-proxy-to-serve-portainer

Technical details:

  • Portainer version: 1.21.0
  • Docker version (managed by Portainer): 18.09.1-ce
  • Platform (windows/linux): linux
  • Browser: chrome

Additional context
Looks like it was suppose to be resolved here #462

Console also shows -

Error: [$resource:badcfg] Error in resource configuration for action `checkAdminUser`. Expected response to contain an array but got an object (Request: GET api/users/admin/check)
@ghost ghost added this to Need triage in Bug triage via automation Jun 18, 2019
@ghost ghost added the reverse-proxy/nginx label Apr 9, 2020
@ghost ghost removed the bug/need-confirmation label Apr 17, 2020
@ghost
Copy link

ghost commented Apr 17, 2020

Leaving this to the community to try and resolve, as we do not currently support reverse proxies with Portainer. If you wish, you can join our slack server and the reverse-proxy channel as there seems to be quite a few active users there.

@ghost ghost added status/discuss and removed kind/bug Applied to Bugs labels May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Bug triage
Need triage
Development

No branches or pull requests

1 participant