infrastructure/nginx-proxy
2022-02-13 19:36:17 +01:00
..
docker-compose.yaml [nginx-proxy] Add restart 2022-02-13 19:36:17 +01:00
example-service.yaml [nginx-proxy] Rename example service 2022-02-12 21:46:36 +01:00
README.md Add nginx-proxy 2022-02-06 19:01:07 +01:00

nginx-proxy

Automatic ssl-terminating reverse proxy.

This project contains three containers: The nginx container works as the proxy. The docker-gen container listens for new containers and manages the config file for nginx. The acme-companion container generates and manages the ssl certificates for the hosts.

Important step when deploying

The docker-gen container needs a template file called nginx.tmpl which can be found here Place this file next to the docker-compose file when deploying locally. Deploy the stack and upload the file to the named volume. Restart the docker-gen container afterwards.