Fix Cerbot Renew.
This fix allows certbot to manage the renew of the certificate correctly Change-Id: I74f94ed80c3367798905665584ee325a5b7f54a5
This commit is contained in:
parent
0597bc8935
commit
cda157ccc6
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue