certbot/certbot-nginx/certbot_nginx/_internal
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
..
tls_configs Remove ECDHE-RSA-AES128-SHA from NGINX ciphers list (#7719) 2020-01-24 10:09:28 -08:00
__init__.py Make the contents of the nginx plugin private (#7589) 2019-11-25 14:30:24 -08:00
configurator.py nginx: add --nginx-sleep-seconds (#8163) 2020-07-27 12:52:12 -07:00
constants.py nginx: add --nginx-sleep-seconds (#8163) 2020-07-27 12:52:12 -07:00
display_ops.py Minor bugfixes (#7891) 2020-04-13 10:41:39 -07:00
http_01.py Remove useless pylint error suppression directives (#7657) 2020-02-13 13:56:16 -08:00
nginxparser.py Remove useless pylint error suppression directives (#7657) 2020-02-13 13:56:16 -08:00
obj.py Make the contents of the nginx plugin private (#7589) 2019-11-25 14:30:24 -08:00
parser.py Minor bugfixes (#7891) 2020-04-13 10:41:39 -07:00
parser_obj.py Minor bugfixes (#7891) 2020-04-13 10:41:39 -07:00