Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Apache 测试服务器上,我们的供应商能够通过设置
Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure;SameSite=None
在 .htaccess 中。但是,我们的实时站点正在运行 Nginx,我们无法弄清楚如何将其转换为我们可以在那里配置的东西。
尝试:proxy_cookie_path / "/; secure; HttpOnly; SameSite=none";
proxy_cookie_path / "/; secure; HttpOnly; SameSite=none";