update
This commit is contained in:
parent
c526d8ae0d
commit
5d83656f2f
3 changed files with 12 additions and 2 deletions
10
README.md
10
README.md
|
|
@ -14,6 +14,8 @@ In server block:
|
|||
```nginx
|
||||
server {
|
||||
# ...
|
||||
include snippets/cert/mydomain.com.conf;
|
||||
include kit/ssl/hsts.conf;
|
||||
include kit/ssl/force.conf;
|
||||
# ...
|
||||
}
|
||||
|
|
@ -38,4 +40,10 @@ server {
|
|||
include snippets/cert/mydomain.com.conf;
|
||||
# ...
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
### SSL snippets
|
||||
|
||||
- `kit/ssl/security.conf`: TLS protocol and session resumption settings.
|
||||
- `kit/ssl/hsts.conf`: HSTS header for HTTPS responses.
|
||||
- `kit/ssl/force.conf`: Redirect HTTP requests to HTTPS.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue