ubuntu-nginx-web-server/etc/nginx/common/hsts.conf

4 lines
231 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; includeSubDomains; preload";