mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 22:33:00 -04:00
python3 compatibility
This commit is contained in:
parent
787b0c358f
commit
f3395d487c
1 changed files with 1 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ class NginxHttp01(NginxChallengePerformer):
|
|||
block.extend([['server_name', ' ', achall.domain],
|
||||
[['location', ' ', '=', ' ', validation_path],
|
||||
[['default_type', ' ', 'text/plain'],
|
||||
['return', ' ', '200', ' ', validation.encode()]]]])
|
||||
['return', ' ', '200', ' ', validation]]]])
|
||||
return [['server'], block]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue