Shane Mc Cormack
2bffc11ded
Refuse to overwrite an existing config with a blank one unless we wrote it.
6 vuotta sitten
Shane Mc Cormack
42235d4f1b
Check that certificate file exists before we create the service.
This closes csmith/docker-service-nginx#2
Requires that `letsencrypt-data` volume is mounted at /letsencrypt in csmith/docker-automatic-nginx-letsencrypt
6 vuotta sitten
Chris Smith
855f8dfe98
Add support for specifying the default vhost.
Nginx lacks a strict-sni option like haproxy, so allow specifying
the default container to receive random traffic not matched by
other hosts.
6 vuotta sitten
Chris Smith
a92e6a10f7
Add ssl_trusted_certificate directive.
8 vuotta sitten
Chris Smith
78a9e3b467
Actuall write the config out.
8 vuotta sitten
Chris Smith
337e4cd322
Configure SSL certs
8 vuotta sitten
Chris Smith
562dc3802a
Allow protocols to be specified, add labels to README.
8 vuotta sitten
Chris Smith
37d84dff31
Handle SANs
8 vuotta sitten
Chris Smith
d3134060e7
Initial version
8 vuotta sitten