update
This commit is contained in:
parent
5d83656f2f
commit
d2963aded8
5 changed files with 14 additions and 2 deletions
|
|
@ -15,6 +15,7 @@ In server block:
|
|||
server {
|
||||
# ...
|
||||
include snippets/cert/mydomain.com.conf;
|
||||
include kit/ssl/security.conf;
|
||||
include kit/ssl/hsts.conf;
|
||||
include kit/ssl/force.conf;
|
||||
# ...
|
||||
|
|
@ -28,7 +29,7 @@ server {
|
|||
```bash
|
||||
cd /etc/nginx
|
||||
mkdir snippets/cert
|
||||
cp kit/templates/cert-example.com.conf snippets/cert/mydomain.com.conf
|
||||
cp kit/templates/cert/example.com.conf snippets/cert/mydomain.com.conf
|
||||
vi snippets/cert/mydomain.com.conf
|
||||
```
|
||||
|
||||
|
|
@ -38,6 +39,8 @@ Replace the path with yours, then include in your server block:
|
|||
server {
|
||||
# ...
|
||||
include snippets/cert/mydomain.com.conf;
|
||||
include kit/ssl/security.conf;
|
||||
include kit/ssl/hsts.conf;
|
||||
# ...
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue