From 4a726c4a66970ddc5226538a7cca138c6526e673 Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 20 Nov 2022 16:32:27 +0800 Subject: Fix cert-only acme challenge issue. --- template/nginx/forbid_unknown_domain.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'template/nginx/forbid_unknown_domain.conf') 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; } -- cgit v1.2.3