From 1272a9ada538257df5991bf3920ebd67a9d2756f Mon Sep 17 00:00:00 2001 From: dallaslu Date: Fri, 5 Jun 2026 04:14:47 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 3a34057..5c0c550 100644 --- a/README.md +++ b/README.md @@ -17,4 +17,25 @@ server { include kit/ssl/force.conf; # ... } +``` + +### Tempaltes + +#### SSL Certs + +```bash +cd /etc/nginx +mkdir snippets/cert +cp kit/templates/cert-example.com.conf snippets/cert/mydomain.com.conf +vi snippets/cert/mydomain.com.conf +``` + +Replace the path with yours, then include in your server block: + +```nginx +server { + # ... + include snippets/cert/mydomain.com.conf; + # ... +} ``` \ No newline at end of file