nginx屏蔽http方法 在安全扫描中,一般会要求禁用除get和post以外的http方法,nginx可在location下通过以下配置实现:if (requestmethod! (GET∣POST)request_method !~ ^(GET|POST)requestmethod! (GET∣POST) ) {return 403;}... nginx 2023-11-01 176 点赞 2 评论 266 浏览