参考链接:https://cloud.tencent.com/developer/article/1843366
if ($request_method !~ ^(GET|HEAD|POST)$) {
return 403;
}

参考链接:https://cloud.tencent.com/developer/article/1843366
if ($request_method !~ ^(GET|HEAD|POST)$) {
return 403;
}
本文标题:Nginx服务器配置中禁用不安全的HTTP方法
本文链接:https://www.haomeiwen.com/subject/hojvqdtx.html
网友评论