1、问题重现
微信开发者工具无法设置cookie,出现如下报错:
This Set-Cookie was blocked because it had the "Secure" attribute but was not received over a secure connection.
Google Chrome无法设置cookie,出现如下报错:
This attempt to set a cookie via a Set-Cookie header was blocked because it had the "Secure" attribute but was not received over a secure connection.
2、解决办法:
去掉Nginx server location proxy_cookie_path的secure