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 | dbc5237dbbb449ac24e4001d6e4e17a178333b46 (patch) | |
tree | 9f1147555f972b5c53fe3e54b47610bc2cf25716 /template/nginx/static-file.conf.template | |
parent | 79bb2c981e427d84b93d880fae5a42216f2f38d1 (diff) | |
download | crupest-dbc5237dbbb449ac24e4001d6e4e17a178333b46.tar.gz crupest-dbc5237dbbb449ac24e4001d6e4e17a178333b46.tar.bz2 crupest-dbc5237dbbb449ac24e4001d6e4e17a178333b46.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; + } } |