docker-nginx-ssl-proxy
docker-nginx-ssl-proxy copied to clipboard
proxy_pass can't be http://origin
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;
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.