certbot/certbot-nginx
ohemorange 8b5d6879cc Create a new server block when making server block ssl (#5220)
* create_new_vhost_from_default --> duplicate_vhost

* add source_path property

* set source path for duplicated vhost

* change around logic of where making ssl happens

* don't add listen 80 to newly created ssl block

* cache vhosts list

* remove source path

* add redirect block if we created a new server block

* Remove listen directives when making server block ssl

* Reset vhost cache on parser load

* flip connected pointer direction for finding newly made server block to match previous redirect search constraints

* also test for new redirect block styles

* fix contains_list and test redirect blocks

* update lint, parser, and obj tests

* reset new vhost (fixing previous bug) and move removing default from addrs under if statement

* reuse and update newly created ssl server block when appropriate, and update unit tests

* append newly created server blocks to file instead of inserting directly after, so we don't have to update other vhosts' paths

* add coverage for NO_IF_REDIRECT_COMMENT_BLOCK

* add coverage for parser load calls

* replace some double quotes with single quotes

* replace backslash continuations with parentheses

* update docstrings

* switch to only creating a new block on redirect enhancement, including removing the get_vhosts cache

* update configurator tests

* update obj test

* switch delete_default default for duplicate_vhost
2017-12-07 09:48:54 -08:00
..
certbot_nginx Create a new server block when making server block ssl (#5220) 2017-12-07 09:48:54 -08:00
docs added new docs links 2016-05-04 17:03:52 -07:00
tests Test additional subcommands in integration tests (#4855) 2017-06-21 13:49:15 -07:00
LICENSE.txt s/letsencrypt/certbot letsencrypt-nginx tests 2016-04-13 16:45:54 -07:00
MANIFEST.in s/letsencrypt/certbot letsencrypt-nginx tests 2016-04-13 16:45:54 -07:00
README.rst s/Let's Encrypt/Certbot certbot-nginx 2016-04-13 16:49:30 -07:00
readthedocs.org.requirements.txt s/letsencrypt/certbot letsencrypt-nginx tests 2016-04-13 16:45:54 -07:00
setup.cfg Tell the world we're Python 3 compatible (#4568) 2017-04-28 16:06:45 -07:00
setup.py Bump version to 0.21.0 2017-12-06 14:52:16 -08:00

Nginx plugin for Certbot