Nginx 不建议使用 if 的话, 还能怎样控制只允许 GET 请求
資深大佬 : aoscici2000 63
if ($request_method != GET) { return 405; }
例如
大佬有話說 (2)
if ($request_method != GET) { return 405; }
例如
return …;
rewrite … last;