I am trying to removed all cookies from response headers if Pragma: no-cache is not present in the headers in Nginx. I am trying to achieve this as below if ( $sent_http_pragma !~* "no-cache"){ more_clear_headers "Set-Cookie*"; break; } if ( $sent_http_cache_control !~* "no-cache"){ more_clear_headers "Set-Cookie*&quoby JackT - How to...
![]() |
![]() |
![]() |
![]() |
|