Commit Graph

32 Commits

Author SHA1 Message Date
Giles Bradshaw b72a880868 feat: use comments in config files to file certificates
config files in /etc/nginx/conf.d can contain:

```

```

certificates files are in /etc/nginx/conf.d/certificates

these contain un commented lines
2020-12-18 20:46:26 +00:00
Giles Bradshaw 9eeee94b67 set maintainer 2020-08-10 17:13:14 +01:00
Leonhard Nobach 1fc51c1a25 Switched to Python 3.7 2020-06-30 19:05:12 +02:00
Elliot Saba 5fcae395a3 Print out user configs as we template them 2020-04-02 16:59:11 -07:00
Elliot Saba e6627013ae Exclude self 2020-03-24 00:57:45 -07:00
Elliot Saba 4fa974585c Use `ps | grep` instead of `jobs | grep`
It appears that `jobs` won't track the nginx processes started from a
config reload, so let's use `ps` instead.  Also, set `reuseport` on all
listen interfaces in order to dodge kernels that don't like `nginx`
restarting quickly.
2020-03-23 17:24:15 -07:00
Elliot Saba 4486e47861 Protect against wedged `nginx` startups
If `nginx` starts up incorrectly, we'll end up waiting a week for it to
start up.  Instead, fail out first.
2020-02-25 14:29:32 -08:00
Łukasz Cieśnik d89eae2879 indentation fix 2020-02-02 17:57:26 +01:00
Łukasz Cieśnik 452e60024b Stop container if nginx stops 2020-01-29 23:14:49 +01:00
Elliot Saba f6d02a7ec9 Enable templating! Eliminate unnecessary customization! 2020-01-12 23:54:12 -08:00
Nick Krichevsky b176fa82c4
Avoid extracting comments when parsing domain names 2019-12-30 16:30:17 -05:00
Elliot Saba 4cedfe2a4d
Merge pull request #12 from ds17f/easy-user-config
Allow user configs without custom image
2019-11-19 01:57:46 -08:00
巢鹏 e9fb0cfe4a
Update to acme v2 2019-10-11 10:30:30 -04:00
Damian Silbergleith Cunniff d49c7c544f address PR request comments for minor cleanup 2019-10-02 21:00:59 -07:00
Damian Silbergleith Cunniff 67821fcc0d move link functionality into utils as a sh function 2019-05-24 19:46:23 -07:00
Damian Silbergleith Cunniff caae172589 allow user configs without custom image 2019-05-17 08:22:04 -07:00
rhedia 507eac1b72 Update screen to use bash shell and adapt parse_keyfile output to remove starting $ character and trailing carriage return character : fixes certificate not found error 2019-05-11 15:28:26 +02:00
Dominique Roux 479a108172 Added IPv6 Support for the docker container
- Enabled IPv6 for the nginx server
2019-02-11 16:30:04 +01:00
Bruno Zell 642614cdad use domains private key file as timestamp 2018-10-03 05:31:43 +02:00
Bruno Zell a1104ffceb comments 2018-10-03 05:11:59 +02:00
Bruno Zell 66585d9765 put conditional renewal logic into certbot loop 2018-10-03 05:09:42 +02:00
Bruno Zell 57c429078c move more renewal logic to util.sh 2018-10-03 05:04:44 +02:00
Bruno Zell a89ebd176f fix function return 2018-09-28 17:48:31 +02:00
Bruno Zell 16e052dc8c comments and documentation 2018-09-28 17:14:41 +02:00
Bruno Zell 73851752f7 renaming 2018-09-28 17:11:05 +02:00
Bruno Zell 96897f8e37 move interval management to a util funcion 2018-09-28 17:07:33 +02:00
Bruno Zell 1aa799bb70 add maintainer 2018-09-28 16:00:02 +02:00
Bruno Zell f7668d4347 call certbot only once 2018-09-28 15:58:30 +02:00
Bruno Zell 00d0b9b803 remove register.sh 2018-09-28 15:50:12 +02:00
Bruno Zell fc1b972104 merge valdergallo PR with master 2018-09-28 14:59:43 +02:00
Bruno Zell 5aa7438c46 create src folder 2018-09-28 14:53:48 +02:00
Bruno Zell f9ac240d32 moved all source files to src folder 2018-09-20 23:29:03 +02:00