fix certbot verification path
This commit is contained in:
parent
4f2e05439e
commit
302b6525f6
@ -1,2 +1,2 @@
|
||||
---
|
||||
certbot_challenge_webroot_path: /var/www/.acme-challenge
|
||||
certbot_challenge_webroot_path: /var/www/html
|
||||
|
@ -6,7 +6,7 @@ server {
|
||||
server_name {{ gitea_domain }};
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /var/www/.acme-challenge;
|
||||
root /var/www/html;
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
|
@ -6,7 +6,7 @@ server {
|
||||
server_name {{ grafana_domain }};
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /var/www/.acme-challenge;
|
||||
root /var/www/html;
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
|
@ -11,11 +11,4 @@ server {
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
|
||||
{% if nginx_acme_challenge_enabled %}
|
||||
location /.well-known/acme-challenge/ {
|
||||
alias {{ nginx_acme_challenge_path }};
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
{% endif %}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user