mirror of
https://github.com/certbot/certbot.git
synced 2026-08-04 12:32:02 +02:00
Always newline config edits
Even if they're transient
This commit is contained in:
@@ -91,10 +91,10 @@ class NginxTlsSni01(common.TLSSNI01):
|
|||||||
# Add the 'include' statement for the challenges if it doesn't exist
|
# Add the 'include' statement for the challenges if it doesn't exist
|
||||||
# already in the main config
|
# already in the main config
|
||||||
included = False
|
included = False
|
||||||
include_directive = ['include', ' ', self.challenge_conf]
|
include_directive = ['\n', 'include', ' ', self.challenge_conf]
|
||||||
root = self.configurator.parser.loc["root"]
|
root = self.configurator.parser.loc["root"]
|
||||||
|
|
||||||
bucket_directive = ['server_names_hash_bucket_size', ' ', '128']
|
bucket_directive = ['\n', 'server_names_hash_bucket_size', ' ', '128']
|
||||||
|
|
||||||
main = self.configurator.parser.parsed[root]
|
main = self.configurator.parser.parsed[root]
|
||||||
for key, body in main:
|
for key, body in main:
|
||||||
|
|||||||
Reference in New Issue
Block a user