#safe_config_star
add_header X-Xss-Protection "1;mode=block";
add_header X-Content-Type-Options nosniff;
#add_header X-Frame-Options DENY;
add_header X-Frame-Options SAMEORIGIN;
#ljc_安全协议
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
if ($request_uri ~* "^//?"){
set $id $1;
rewrite "/" http://www.******.com/updateing.html;
}
#safe_config_end
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/aiops/282902.html