Skip to content
Snippets Groups Projects
Commit 56ef2187 authored by Pawel Chojnacki's avatar Pawel Chojnacki Committed by GitLab
Browse files

Add HSTS setting to nginx configuration for gitlab

parent 611f3cef
No related branches found
No related tags found
1 merge request!61Add HSTS setting to nginx configuration for gitlab
Loading
Loading
@@ -62,6 +62,9 @@ server {
 
## See app/controllers/application_controller.rb for headers set
 
## [Optional] Enable HTTP Strict Transport Security
# add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
## [Optional] If your certficate has OCSP, enable OCSP stapling to reduce the overhead and latency of running SSL.
## Replace with your ssl_trusted_certificate. For more info see:
## - https://medium.com/devops-programming/4445f4862461
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment