certbot/certbot-nginx/certbot_nginx
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
..
tests Fix Nginx redirect issue (#5479) 2018-01-24 22:19:32 -08:00
__init__.py s/Let's Encrypt/Certbot certbot-nginx 2016-04-13 16:49:30 -07:00
configurator.py Fix Nginx redirect issue (#5479) 2018-01-24 22:19:32 -08:00
constants.py Remove reference to .new in Nginx's SSL options. (#4769) 2017-06-01 15:26:54 -07:00
http_01.py Add (nonexistent) document root so we don't use the default value (#5437) 2018-01-17 08:02:10 -08:00
nginxparser.py Revert "Nginx reversion (#5299)" (#5305) 2017-12-06 17:45:20 -08:00
obj.py Fix Nginx redirect issue (#5479) 2018-01-24 22:19:32 -08:00
options-ssl-nginx.conf Remove reference to .new in Nginx's SSL options. (#4769) 2017-06-01 15:26:54 -07:00
parser.py Add a rewrite directive for the .well-known location so we don't hit existing rewrites (#5436) 2018-01-17 08:01:44 -08:00
tls_sni_01.py Create a new server block when making server block ssl (#5220) 2017-12-07 09:48:54 -08:00