更新 README.md
This commit is contained in:
parent
7d67f5ebf3
commit
1272a9ada5
1 changed files with 21 additions and 0 deletions
21
README.md
21
README.md
|
|
@ -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;
|
||||||
|
# ...
|
||||||
|
}
|
||||||
|
```
|
||||||
Loading…
Add table
Add a link
Reference in a new issue