Public | Automated Build

Last pushed: 7 days ago
Short Description
nginx reverse proxy (subdirectory) with confd
Full Description
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/<service-key>/ ↔ http://10.0.0.3:80/

Docker Pull Command
Owner
siomiz
Source Repository

Comments (0)