@@ -429,9 +429,6 @@ server {
429429 # Nginx normally only copies the first `Set-Cookie` header from the auth_request to the response,
430430 # so if your cookies are larger than 4kb, you will need to extract additional cookies manually.
431431 auth_request_set $auth_cookie_name_upstream_1 $upstream_cookie_auth_cookie_name_1;
432− # you also need to extract the additional cookies, because $upstream_http_set_cookie
433− # only contains the first Set-Cookie header from the auth_request.
434− auth_request_set $auth_cookie_name_upstream_1 $upstream_cookie_auth_cookie_name_1;
435432
436433 # Extract the Cookie attributes from the first Set-Cookie header and append them
437434 # to the second part ($upstream_cookie_* variables only contain the raw cookie content)