certbot/certbot-nginx/tests
alexzorin 09ab4aea01
nginx: add --nginx-sleep-seconds (#8163)
* nginx: add --nginx-sleep-seconds

As described in #7422, reloading nginx is an asynchronous process and
Certbot does not know when it is complete. In an environment where this
reload takes a long time, the nginx plugin suffers from an issue where
it responds to and fails the ACME challenge before the nginx server is
ready to serve it.

Following the discussion in a previous PR #7740, this commit introduces
a new flag, --nginx-sleep-seconds, which may be used to increase the
duration that Certbot will wait for nginx to reload, from its previously
hard-coded value of 1s.

Fixes #7422

* update CHANGELOG

* nginx: update docstring for nginx_restart
2020-07-27 12:52:12 -07:00
..
testdata/etc_nginx Update comment in testdata file 2020-02-25 13:21:10 +09:00
boulder-integration.conf.sh Remove tls sni in nginx plugin (#6857) 2019-03-18 10:22:19 -07:00
configurator_test.py nginx: add --nginx-sleep-seconds (#8163) 2020-07-27 12:52:12 -07:00
display_ops_test.py Reorganize imports (#7616) 2019-12-09 15:50:20 -05:00
http_01_test.py Do not require mock in Python 3 in nginx module (#7898) 2020-04-15 11:39:44 -07:00
nginxparser_test.py Reorganize imports (#7616) 2019-12-09 15:50:20 -05:00
obj_test.py Minor bugfixes (#7891) 2020-04-13 10:41:39 -07:00
parser_obj_test.py Do not require mock in Python 3 in nginx module (#7898) 2020-04-15 11:39:44 -07:00
parser_test.py Minor bugfixes (#7891) 2020-04-13 10:41:39 -07:00
test_log_util.py Add simple comments 2020-02-24 05:30:54 +09:00
test_util.py nginx: add --nginx-sleep-seconds (#8163) 2020-07-27 12:52:12 -07:00