ubuntu-nginx-web-server/docs/files/etc/nginx/common/hsts-nosub.conf

3 lines
204 B
Plaintext

# Warning : this line enable HSTS for your domain and all subdomains (ngx_http_headers_module is required) (15768000 seconds = 6 months)
add_header Strict-Transport-Security "max-age=31536000; preload";