更新 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
|
|
@ -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;
|
||||
# ...
|
||||
}
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue