-
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
Jwilder/nginx-proxy #348
Comments
Hi @adi90x I've got portainer running behind jwilder/nginx-proxy. Here is what I've done to set it up:
If you take a look at this page: https://portainer.readthedocs.io/en/latest/faq.html#how-can-i-configure-my-reverse-proxy-to-serve-portainer You will notice that the I've added the following to my proxy configuration to solve that: In proxy_http_version 1.1;
proxy_set_header Connection ""; See here for the jwilder/nginx-proxy documentation about the location file. I don't know if there is a better way, but this does work for me. |
Perfectly working ! Thanks a lot for the information ! |
If you want web tty console to work, you must add this lines in the previous file :
Note: you can also replace :
with this simple line: |
This solution contradicts: nginx-proxy/nginx-proxy#705 here is suggested to use
while the other linked issue suggests to use:
None of these two work for me. After reading https://portainer.readthedocs.io/en/latest/faq.html#how-can-i-configure-my-reverse-proxy-to-serve-portainer it looks like one also needs to add another location:
Could someone clarify how to add this via the proxy? |
* feat(git): update git checkout [EE-630] (#348) * feat(git): Add Azure DevOps exception [EE-631] (#356) * feat(git): refactoring git package (#631) * feat(git): azure parse https url (#631) * feat(git): unit-test refactoring (#631) * feat(git): azure parse urls (#631) * feat(git): extract azure module (#631) * feat(git): azure service functions (#631) * feat(git): azure, git refactoring and tests (#631) * feat(archive): add unzip file tests (#631) * feat(git): PR review changes (#631) * feat(git): error handling updates (#631) * feat(git): error handling updates (#631) * feat(archive): test refactoring (#631) Co-authored-by: Dennis Buduev <dennis.b@clubware.co.nz> * feat(git) remove .git directory (#451) * feat(git): return git clone error (#630) Co-authored-by: Dennis Buduev <dennis.b@clubware.co.nz>
Hello,
It seems that portainer is not working out of he box with jwilder/nginx-proxy.
It seems that location /ws should be set up in the reverse proxy for portainer being able to get data, am I correct?
Does anyone have a working config with jwilder/nginx proxy? Or any clue of how to set everything?
Regards
The text was updated successfully, but these errors were encountered: