Sign inSign up

siomiz/nginx-confd

By siomiz

Updated over 8 years ago

nginx reverse proxy (subdirectory) with confd

Image
3

2.8K

siomiz/nginx-confd repository overview

docker run -d -e SERVER_FQDN=example.com -v /etc/ssl/private/cert.pem:/etc/ssl/private/cert.pem:ro -v /etc/ssl/private/key.pem:/etc/ssl/private/key.pem:ro siomiz/nginx-confd /opt/confd/confd -node 172.17.42.1:4001 -watch

(Note: SSL is assumed (only 443/tcp exposed/used). To mitigate Logjam, a fairly large 2048-bit dhparam for PFS is generated at runtime (in entrypoint), which will take some time!)

and a sidekick running:

etcdctl -C http://172.17.42.1:4001 set /services/web/<service-key> '{"_": "10.0.0.3:80"}'

will set nginx reverse proxy at https://examples.com// ↔ http://10.0.0.3:80/

Tag summary

Content type

Image

Digest

sha256:1b0439514

Size

47.6 MB

Last updated

over 8 years ago

docker pull siomiz/nginx-confd