0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/caddy
Matthew Holt 7bd2adf0dc Fix edge case related to reloaded configs and ACME challenge
If Caddy is running but not listening on port 80, reloading Caddy with a new Caddyfile that needs to obtain a TLS cert from the CA would fail, because it was just assumed that, if reloading, port 80 as already in use. That is not always the case, so we scan the servers to see if one of them is listening on port 80, and we configure the ACME client accordingly. Kind of a hack... but it works.
2016-02-11 15:37:51 -07:00
..
assets Minor test improvements 2015-10-27 12:53:31 -06:00
caddyfile Preserve and clean up original host input in Caddyfile-JSON conversions 2016-01-03 16:46:26 -07:00
https Fix edge case related to reloaded configs and ACME challenge 2016-02-11 15:37:51 -07:00
parse If scheme and port defy convention, it is an error 2016-01-10 20:51:50 -07:00
setup tls: Some bug fixes, basic rate limiting, max_certs setting 2016-02-11 13:48:52 -07:00
caddy.go tls: Some bug fixes, basic rate limiting, max_certs setting 2016-02-11 13:48:52 -07:00
caddy_test.go Major refactor of all HTTPS/TLS/ACME code 2016-02-11 00:06:05 -07:00
config.go Major refactor of all HTTPS/TLS/ACME code 2016-02-11 00:06:05 -07:00
config_test.go Parser separate scheme/port, refactor config loading 2016-01-03 16:41:29 -07:00
directives.go Merge branch 'master' into getcertificate 2016-02-11 00:06:23 -07:00
directives_test.go making directives externally registerable 2016-02-05 10:03:20 -07:00
helpers.go tls: Some bug fixes, basic rate limiting, max_certs setting 2016-02-11 13:48:52 -07:00
restart.go Fix edge case related to reloaded configs and ACME challenge 2016-02-11 15:37:51 -07:00
restart_windows.go Log restarts 2016-01-25 13:41:51 -07:00
sigtrap.go Remove pidfile when program exits (closes #495) 2016-01-09 21:48:07 -07:00
sigtrap_posix.go Remove pidfile when program exits (closes #495) 2016-01-09 21:48:07 -07:00
sigtrap_windows.go Make signal trapping optional 2015-11-14 21:59:43 -07:00