aboutsummaryrefslogtreecommitdiff
path: root/template/nginx/forbid_unknown_domain.conf
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-20 16:32:27 +0800
committercrupest <crupest@outlook.com>2022-11-20 16:32:27 +0800
commit5706b4c77e4eb3d6025b771801711ff49ea299e8 (patch)
treee3c62048b3bb0e14859e1c6a978966fda87b250e /template/nginx/forbid_unknown_domain.conf
parentdbc5237dbbb449ac24e4001d6e4e17a178333b46 (diff)
downloadcrupest-5706b4c77e4eb3d6025b771801711ff49ea299e8.tar.gz
crupest-5706b4c77e4eb3d6025b771801711ff49ea299e8.tar.bz2
crupest-5706b4c77e4eb3d6025b771801711ff49ea299e8.zip
Fix cert-only acme challenge issue.
Diffstat (limited to 'template/nginx/forbid_unknown_domain.conf')
-rw-r--r--template/nginx/forbid_unknown_domain.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/template/nginx/forbid_unknown_domain.conf b/template/nginx/forbid_unknown_domain.conf
index 661a2b6..ae96393 100644
--- a/template/nginx/forbid_unknown_domain.conf
+++ b/template/nginx/forbid_unknown_domain.conf
@@ -1,6 +1,8 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
+ listen 443 ssl http2 default_server;
+ listen [::]:443 ssl http2 default_server;
return 444;
}