From d97bb5c8fff28ce739ac240dc019977d0e1cc39b Mon Sep 17 00:00:00 2001 From: dallaslu Date: Fri, 5 Jun 2026 04:08:52 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20examples/example.com.conf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/example.com.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 examples/example.com.conf diff --git a/examples/example.com.conf b/examples/example.com.conf new file mode 100644 index 0000000..9efe476 --- /dev/null +++ b/examples/example.com.conf @@ -0,0 +1,17 @@ +server { + listen 80; + listen [::]:80; + listen 443 ssl; + listen [::]:443 ssl; + + http2 on; + + server_name primary.example.com + alias1.example.com + alias2.example.com; + + index index.html index.htm; + + include kit/redirect/to-primary-domain.conf; + include kit/ssl/force.conf; +}