Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
回复: [openresty] 关于HTTP限制请求方法
68813671
明白了,感谢回复!
------------------ 原始邮件 ------------------
发件人:
"YuanSheng Wang";<yuan...@openresty.org>;
发送时间:
2017年2月6日(星期一) 下午5:02
收件人:
"openresty"<openresty@googlegroups.com>;
主题:
Re: [openresty] 关于HTTP限制请求方法
On Mon, Feb 6, 2017 at 12:38 PM, 时光漫步
<
688...@qq.com
>
wrote:
请问,限制HTTP请求方法只能用limit_except 在每个location中做限制吗?有没有统一的设定方法,
比如我想限制服务器只接收GET方法。
可以在 server config 中使用 access_by_lua 统一处理。
--
--
YuanSheng Wang
---------------------------------------
My Github:
https://github.com/membphis
OpenResty lover ^_^
--