Chris Smith
b716742a41
Merge pull request #3 from ShaneMcC/check-for-cert
Check that certificate file exists before we create the service.
6 år sedan
Shane Mc Cormack
8f70782ba7
Add logging message when not writing a config.
6 år sedan
Shane Mc Cormack
2bffc11ded
Refuse to overwrite an existing config with a blank one unless we wrote it.
6 år sedan
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 år sedan
Chris Smith
0a54f9fc6e
Read the right value of 'default' in the template.
6 år sedan
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 år sedan
Chris Smith
97afd26f74
Use full path to included directories.
7 år sedan
Chris Smith
fb5ebdb37a
Add host and x-forwarded-for headers.
8 år sedan
Chris Smith
a92e6a10f7
Add ssl_trusted_certificate directive.
8 år sedan
Chris Smith
cd2a04e3cb
Allow config file includes per-site.
8 år sedan
Chris Smith
9a99200492
Listen on IPv4 as well.
8 år sedan
Chris Smith
54e483bfb4
Flesh out the README
8 år sedan
Chris Smith
78a9e3b467
Actuall write the config out.
8 år sedan
Chris Smith
337e4cd322
Configure SSL certs
8 år sedan
Chris Smith
562dc3802a
Allow protocols to be specified, add labels to README.
8 år sedan
Chris Smith
37d84dff31
Handle SANs
8 år sedan
Chris Smith
d3134060e7
Initial version
8 år sedan