if ($request_method != GET) {
return 405;
}
例如
1
0ZXYDDu796nVCFxq 2019-12-10 21:04:31 +08:00 via Android 3
|
2
sagaxu 2019-12-10 23:20:58 +08:00 via Android
The only 100% safe things which may be done inside if in a location context are:
return ...; rewrite ... last; |