-
Notifications
You must be signed in to change notification settings - Fork 3k
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
need help with get nginx-proxy work with portainer #705
Comments
Could you please show the content of your default.conf file in the nginx-proxy?
|
default.conf
|
visit
|
It turn out the issues is not related to nginx-proxy, it's my domain name dns setting problems.
otherwise the DNS server will only resolve exactly match sorry for disrupt, I'm not really familiar with network stuff. |
seems get first create a folder in same directory with nginx-proxy mkdir -p vhost.d edit nginx-proxy
add config file for portainer (my subdomain for cat > ./vhost.d/app.mydomain.com << "EOF"
proxy_http_version 1.1;
proxy_set_header Connection "";
EOF so the folder hold
then start the docker-compose up finally start the now you can access |
This solution contradicts: portainer/portainer#348 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? |
hi, anyone have managed to get nginx-proxy work with portainer, would you mind share the docker-compose file?
I'm trying to run nginx-proxy and portainer on raspberry pi 3, but failed.
below is my environment:
The pi 80 port forward to a server with public ip 80 port, use ssh tunnel.
Visit domain name which point to server (redirect to pi) got
503
in browser, according to other issues, seems this means nginx-proxy is working. And I can see the nginx-proxy response in terminal.Then I start the nginx-proxy with
docker-compose up
:Nginx Proxy Compose
Portainer Compose
As you can see from the compose file, I want to access portainer with
app.mydomain.com
.Visit
http://raspberrypi:9000
the portainer is here. But when I visitapp.mydomain.com
got no repose.The text was updated successfully, but these errors were encountered: