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

port conflict with nginx #3

Open
ru61sco opened this issue Apr 7, 2022 · 3 comments
Open

port conflict with nginx #3

ru61sco opened this issue Apr 7, 2022 · 3 comments

Comments

@ru61sco
Copy link

ru61sco commented Apr 7, 2022

seems that caddy needs port 80 and 443 and that conflicts with nginx. Is it possible to host the couchdb server and a nginx based website on the same server?

@osimmac
Copy link

osimmac commented Aug 8, 2022

yuh but not using this docker compose file. when using nginx, you need to setup the routing in proxy.conf. i used nginx as reverse proxy on a subdomain and name which pointed to this docker service and port.

@wchorski
Copy link

wchorski commented Sep 28, 2022

@osimmac - I too am trying to build couchDB with compose. Then I use Nginx Proxy Manager to route and add SSL cert.

currently, my Nginx Proxy Manager is only locally accessible. Are you saying I have to forward face my NginxPM for this to work? when you say "name which pointed" are you referring to Docker's DNS?

I keep getting a 500 error when trying to apply an SSL on my couchDB container

EDIT
fixed.

  1. don't use any underscore _ in subdomain i.e.
    • 🚫 sub_domain.example.com
    • instead used ✅sub-domain.example.com
  1. in Nginx Proxy Manager UI had to create cert separately. Then added it on when creating proxy

@Orwlit
Copy link

Orwlit commented May 1, 2024

yuh but not using this docker compose file. when using nginx, you need to setup the routing in proxy.conf. i used nginx as reverse proxy on a subdomain and name which pointed to this docker service and port.

I'm setting up this livesync with nginx too, but little experience on configuring nginx. would you please show me your nginx config file of this part and docker-compose.yml file? THANKS!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants