Set the HttpOnly, SameSite, and secure flags for cookies in Set-Cookie upstream response headers.

Supported OS versions: NGINX Plus Technical Specifications
Installation instructions: NGINX Plus Admin Guide
Configuration and additional info: nginx_cookie_flag_module on GitHub