Fix letsencrypt by using a separate port than the proxy
This commit is contained in:
@@ -42,7 +42,7 @@ http {
|
||||
# In any case, enable the proxy for certbot if the flavor is letsencrypt
|
||||
{% if TLS_FLAVOR == 'letsencrypt' %}
|
||||
location ^~ /.well-known/acme-challenge/ {
|
||||
proxy_pass http://localhost:8000;
|
||||
proxy_pass http://localhost:8008;
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user