diff options
author | crupest <crupest@outlook.com> | 2022-11-20 16:25:33 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-20 16:25:33 +0800 |
commit | 4067ed5b45071109203369dd9b2647d37f434123 (patch) | |
tree | 9f1147555f972b5c53fe3e54b47610bc2cf25716 /template/nginx/static-file.conf.template | |
parent | e664eed6cbda95684653b4b13a6430a36cbfd79c (diff) | |
download | crupest-4067ed5b45071109203369dd9b2647d37f434123.tar.gz crupest-4067ed5b45071109203369dd9b2647d37f434123.tar.bz2 crupest-4067ed5b45071109203369dd9b2647d37f434123.zip |
Fix nginx acme challenge problem.
Diffstat (limited to 'template/nginx/static-file.conf.template')
-rw-r--r-- | template/nginx/static-file.conf.template | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/template/nginx/static-file.conf.template b/template/nginx/static-file.conf.template index 0ada7cd..e35ccf3 100644 --- a/template/nginx/static-file.conf.template +++ b/template/nginx/static-file.conf.template @@ -16,4 +16,8 @@ server { location / { return 301 https://$host$request_uri; } + + location /.well-known/acme-challenge { + root /srv/acme; + } } |