Answers for "HSTS"

-1

HSTS

http {
...
    ##
    # Virtual Host Configs
    ##

    include /etc/nginx/conf.d/*.conf;
    include /etc/nginx/sites-enabled/*;
    add_header Strict-Transport-Security "max-age=15768000" always;
}
...
Posted by: Guest on May-31-2021

Browse Popular Code Answers by Language