DanielDent / docker-nginx-ssl-proxy

SSL Front-End Proxy With Automatic Free Certificate Management
https://hub.docker.com/r/danieldent/nginx-ssl-proxy/
Other
204 stars 68 forks source link

proxy_pass can't be http://origin #26

Open tonyengstrom opened 5 years ago

tonyengstrom commented 5 years ago

READ.me needs to be edited to provide instructions to edit the default.conf and replace proxy_pass http://origin; with proxy_pass http://domain.name:port;

drschwabe commented 2 years ago

This is needed only if you are using this container to serve your final site files.

But the container is intended to be used in combination with another container or service; you can for example add the vanilla nginx image/container and run them together on the same network via docker-compose where said vanilla nginx is the one serving your files on port 80; SSL is already taken care of so the latter container need not any domain or SSL specific config.