Set HTTP Strict Transport Security policy in nginx config
# force HTTPS access for 1 year
add_header Strict-Transport-Security max-age=31556900;
Written by foolproofcode
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Nginx
Authors
reiaguilera
279.6K
jamesdullaghan
90.19K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#