Cookie-Flag
Note: The module was deprecated in Release 23 and removed in Release 26. The
proxy_cookie_flags
directive implements native support for setting cookie flags and replaces the module. See Native Method for Setting Cookie Flags for details.
Installation Instructions
-
Install the Cookie-Flag module.
For Amazon Linux, CentOS, Oracle Linux, and RHEL:
yum install nginx-plus-module-cookie-flag
For Debian and Ubuntu:
apt-get install nginx-plus-module-cookie-flag
For SLES:
zypper install nginx-plus-module-cookie-flag
For Alpine:
apk add nginx-plus-module-cookie-flag
-
Put the
load_module
directive in the top‑level (“main
”) context of F5 NGINX Plus configuration file, nginx.conf:load_module modules/ngx_http_cookie_flag_filter_module.so;
-
Perform additional configuration as required by the module.
-
Reload NGINX Plus to enable the module:
nginx -t && nginx -s reload
More Info
Last modified August 22, 2024