mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 22:08:07 -04:00
We don't try to add location blocks through a mechanism that checks REPEATABLE_DIRECTIVES, and it wouldn't work as an accurate check even if we did, so just remove it (#5787)
This commit is contained in:
parent
4d082e22e6
commit
669312d248
1 changed files with 1 additions and 1 deletions
|
|
@ -565,7 +565,7 @@ def _update_or_add_directives(directives, insert_at_top, block):
|
|||
|
||||
|
||||
INCLUDE = 'include'
|
||||
REPEATABLE_DIRECTIVES = set(['server_name', 'listen', INCLUDE, 'location', 'rewrite'])
|
||||
REPEATABLE_DIRECTIVES = set(['server_name', 'listen', INCLUDE, 'rewrite'])
|
||||
COMMENT = ' managed by Certbot'
|
||||
COMMENT_BLOCK = [' ', '#', COMMENT]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue