0

I'm trying to logout the user by removing a cookie and redirect him to the home page.

Is it possible to do it without adding lua-nginx-module?

4

1 回答 1

0

从 1.1.15 开始,添加了 proxy_cookie_domain 选项来解决此问题。

http://wiki.nginx.org/NginxHttpProxyModule#proxy_cookie_domain

http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cookie_domain

是的,也可以使用 lua-nginx-module

于 2014-12-15T10:42:52.247 回答