simplify acme config
This commit is contained in:
@@ -11,7 +11,7 @@ server {
|
||||
{% if acme_enabled %}
|
||||
location ^~ /.well-known/acme-challenge/ {
|
||||
allow all;
|
||||
alias {{ acme_config.challenge_dir + (acme_config.challenge_dir.endswith('/') | ternary('', '/')) }};
|
||||
root {{ acme_root_dir }};
|
||||
try_files $uri =404;
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user