certbot/certbot-nginx/certbot_nginx/tests
ohemorange 8a9f21cdd3
Fix Nginx redirect issue (#5479)
* wrap redirect in if host matches

* return 404 if we've created a new block

* change domain matching to exact match

* insert new redirect directive at the top

* add a redirect block to the top if it doesn't already exist, even if there's an existing redirect

* fix obj tests

* remove active parameter

* update tests

* add back spaces

* move imports

* remove unused code
2018-01-24 22:19:32 -08:00
..
testdata/etc_nginx Revert "Nginx reversion (#5299)" (#5305) 2017-12-06 17:45:20 -08:00
__init__.py s/Let's Encrypt/Certbot certbot-nginx 2016-04-13 16:49:30 -07:00
configurator_test.py Fix Nginx redirect issue (#5479) 2018-01-24 22:19:32 -08:00
http_01_test.py Implement HTTP-01 challenge for Nginx (#5414) 2018-01-11 17:06:23 -08:00
nginxparser_test.py Add additional Nginx parsing test case (#4440) 2017-03-30 07:47:36 -07:00
obj_test.py Fix Nginx redirect issue (#5479) 2018-01-24 22:19:32 -08:00
parser_test.py Create a new server block when making server block ssl (#5220) 2017-12-07 09:48:54 -08:00
tls_sni_01_test.py Factor out common challengeperformer logic (#5413) 2018-01-10 18:34:45 -08:00
util.py Implement HTTP-01 challenge for Nginx (#5414) 2018-01-11 17:06:23 -08:00