-
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
nginx on host is a must? #529
Comments
You don't need nginx on the host, you only need docker. The nginx-proxy runs it's own nginx instance inside the container. nginx.tmpl is the default config template included in the image, you don't need to provide your own on the host. the nginx-proxy container proxies requests to other containers over the docker network. |
thanks for the replay @wader In the README, where it states files like /etc/nginx/vhost.d for example, where is this referring to? should i create the files on the host system, even without installing nginx? |
I think that refers to |
Doesnt the container have its data purged everytime it comes up? On Mon, Aug 22, 2016 at 3:00 PM, Mattias Wadman notifications@github.com
|
Nope, unless the container start script does it somehow. Host volumes ( |
data volumes always need to be deleted manually as far as I know |
I am trying to setup a server with official nginx + reverse-proxy + multiple hosts with ssl.
My host does not have nginx installed, and only the images/containers do.
Right now all i get is a 503 from nginx, what do i do with the nginx.tmpl file if i have no /etc/nginx || /usr/share/nginx || any nginx directories ?
The text was updated successfully, but these errors were encountered: