Last Updated: February 25, 2016
·
630
· foolproofcode

Set HTTP Strict Transport Security policy in nginx config

# force HTTPS access for 1 year
add_header Strict-Transport-Security max-age=31556900;

about HSTS