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?
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?
从 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