1

I need to setup SameSite=none value in Nginx webserver

In case of using Nginx as main webserver and non reverse proxy will the below configuration work?

Inside server block

location {

proxy_cookie_path ~(.*) "$1; SameSite=none; secure; httponly";

}

1 Answer 1

1

This can only add SameSite support. For change it, you have to install Nginx 1.19.3 and set as below:

proxy_cookie_flags one samesite=none;

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .