Fix Cerbot Renew.

This fix allows certbot to manage the renew of the certificate correctly

Change-Id: I74f94ed80c3367798905665584ee325a5b7f54a5
This commit is contained in:
Fabio Verboso 2019-08-20 12:33:09 +02:00
parent 0597bc8935
commit cda157ccc6
1 changed files with 9 additions and 3 deletions

View File

@ -215,6 +215,9 @@ class ProxyManager(Proxy.Proxy):
location / {{
proxy_pass http://127.0.0.1:1474;
}}
location ~ /.well-known {{
root /var/www/html;
}}
}}
'''.format(board_dns)
@ -311,9 +314,12 @@ class ProxyManager(Proxy.Proxy):
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
location / {{
proxy_pass http://localhost:{1};
}}
location / {{
proxy_pass http://localhost:{1};
}}
location ~ /.well-known {{
root /var/www/html;
}}
}}
'''.format(service_dns, local_port)