FIX: Let's Encrypt account email couldn't be changed.
authorGuo Xiang Tan <tgx_world@hotmail.com>
Wed, 15 Mar 2017 02:19:48 +0000 (10:19 +0800)
committerGuo Xiang Tan <tgx_world@hotmail.com>
Wed, 15 Mar 2017 02:19:48 +0000 (10:19 +0800)
templates/web.letsencrypt.ssl.template.yml

index 4be9018806b08769d6ba2dd1fba23ae57e327f4b..2811469a00acf7ec40de5ab7018ee235aeec4708 100644 (file)
@@ -74,7 +74,7 @@ hooks:
 
     - replace:
        filename: /shared/letsencrypt/account.conf
-       from: /#ACCOUNT_EMAIL=.+/
+       from: /#?ACCOUNT_EMAIL=.+/
        to: |
          ACCOUNT_EMAIL=$$ENV_LETSENCRYPT_ACCOUNT_EMAIL