更新 README.md

This commit is contained in:
Dallas Lu 2026-06-05 04:14:47 +00:00
parent 7d67f5ebf3
commit 1272a9ada5

View file

@ -18,3 +18,24 @@ server {
# ...
}
```
### 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;
# ...
}
```