Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lelux.fi
Wiki
Commits
0c48d7a0
Verified
Commit
0c48d7a0
authored
Mar 30, 2019
by
Elias Ojala
Browse files
Certbot: HSTS Preloading
parent
4be968c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
certbot.md
View file @
0c48d7a0
...
...
@@ -114,8 +114,12 @@ filename: `/etc/nginx/snippets/ssl/example.com.conf`
ssl_certificate
/etc/letsencrypt/live/example.com/fullchain.pem
;
ssl_certificate_key
/etc/letsencrypt/live/example.com/privkey.pem
;
#
Replace with the domain's HSTS policy
#
Normal HSTS policy. Remove if you use preload one.
add_header
Strict-Transport-Security
"max-age=63072000"
always
;
# This forces your domain's all subdomains to HTTPS.
# Please submit to your domain to https://hstspreload.org/ if you select this option.
#add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
```
## SSL params
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment