Skip to content

Commit 505f723

Browse files
authored
Merge branch 'nginx:main' into main
2 parents a1df4c5 + 8276017 commit 505f723

File tree

14 files changed

+393
-402
lines changed

14 files changed

+393
-402
lines changed

archetypes/concept.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ weight: i00
66
# Creates a table of contents and sidebar, useful for large documents
77
toc: false
88
# Types have a 1:1 relationship with Hugo archetypes, so you shouldn't need to change this
9-
type: concept
9+
nd-content-type: concept
1010
# Intended for internal catalogue and search, case sensitive:
1111
# Agent, N4Azure, NIC, NIM, NGF, NAP-DOS, NAP-WAF, NGINX One, NGINX+, Solutions, Unit
12-
product:
12+
nd-product:
1313
---
1414

1515
[//]: # "These are Markdown comments to guide you through document structure. Remove them as you go, as well as any unnecessary sections."

archetypes/default.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ weight: i00
66
# Creates a table of contents and sidebar, useful for large documents
77
toc: false
88
# Types have a 1:1 relationship with Hugo archetypes, so you shouldn't need to change this
9-
type: how-to
9+
nd-content-type: how-to
1010
# Intended for internal catalogue and search, case sensitive:
1111
# Agent, N4Azure, NIC, NIM, NGF, NAP-DOS, NAP-WAF, NGINX One, NGINX+, Solutions, Unit
12-
product:
12+
nd-product:
1313
---
1414

1515
[//]: # "These are Markdown comments to guide you through document structure. Remove them as you go, as well as any unnecessary sections."

archetypes/tutorial.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ weight: i00
66
# Creates a table of contents and sidebar, useful for large documents
77
toc: false
88
# Types have a 1:1 relationship with Hugo archetypes, so you shouldn't need to change this
9-
type: tutorial
9+
nd-content-type: tutorial
1010
# Intended for internal catalogue and search, case sensitive:
1111
# Agent, N4Azure, NIC, NIM, NGF, NAP-DOS, NAP-WAF, NGINX One, NGINX+, Solutions, Unit
12-
product:
12+
nd-product:
1313
---
1414

1515
[//]: # "These are Markdown comments to guide you through document structure. Remove them as you go, as well as any unnecessary sections."

content/nap-dos/deployment-guide/learn-about-deployment.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1707,7 +1707,7 @@ RUN apt-get update && apt-get install -y apt-transport-https lsb-release ca-cert
17071707
RUN wget -qO - https://cs.nginx.com/static/keys/nginx_signing.key | gpg --dearmor | tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
17081708
17091709
# Add NGINX Plus and NGINX App Protect DoS repository:
1710-
RUN printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg]https://pkgs.nginx.com/plus/ubuntu `lsb_release -cs` nginx-plus\n" | tee /etc/apt/sources.list.d/nginx-plus.list
1710+
RUN printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://pkgs.nginx.com/plus/ubuntu `lsb_release -cs` nginx-plus\n" | tee /etc/apt/sources.list.d/nginx-plus.list
17111711
RUN printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://pkgs.nginx.com/app-protect-dos/ubuntu `lsb_release -cs` nginx-plus\n" | tee /etc/apt/sources.list.d/nginx-app-protect-dos.list
17121712
17131713
# Download the apt configuration to `/etc/apt/apt.conf.d`:

content/nginx/admin-guide/dynamic-modules/cookie-flag.md

+4-59
Original file line numberDiff line numberDiff line change
@@ -10,69 +10,14 @@ type:
1010
- how-to
1111
---
1212

13-
> **Note**: The module was deprecated in [Release 23]({{< ref "nginx/releases.md#r23" >}}) and removed in [Release 26]({{< ref "nginx/releases.md#r26" >}}). The [`proxy_cookie_flags`](https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cookie_flags) directive implements native support for setting cookie flags and replaces the module. See [Native Method for Setting Cookie Flags](https://www.nginx.com/blog/nginx-plus-r23-released#cookie-flags) for details.
13+
{{< note >}} The `nginx-plus-module-cookie-flag` package is no longer available.{{< /note >}}
1414

15-
## Installation
15+
The module was deprecated in [NGINX Plus Release 23]({{< ref "nginx/releases.md#r23" >}}) and removed in [NGINX Plus Release 26]({{< ref "nginx/releases.md#r26" >}}). Its functionality has been replaced with natively supported [`proxy_cookie_flags`](https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cookie_flags) directive.
1616

17-
1. Install the Cookie-Flag module.
17+
To remove the module, follow the [Uninstalling a Dynamic Module]({{< ref "uninstall.md" >}}) instructions.
1818

19-
For Amazon Linux, CentOS, Oracle Linux, and RHEL:
19+
To learn how to replace the module with the native solution, see [Native Method for Setting Cookie Flags](https://www.nginx.com/blog/nginx-plus-r23-released#cookie-flags) and the [`proxy_cookie_flags`](https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cookie_flags) directive.
2020

21-
```shell
22-
sudo yum update && \
23-
sudo yum install nginx-plus-module-cookie-flag
24-
```
25-
26-
For Debian and Ubuntu:
27-
28-
```shell
29-
sudo apt update && \
30-
sudo apt install nginx-plus-module-cookie-flag
31-
```
32-
33-
For SLES:
34-
35-
```shell
36-
sudo zypper refresh && \
37-
sudo zypper install nginx-plus-module-cookie-flag
38-
```
39-
40-
For Alpine:
41-
42-
```shell
43-
apk add nginx-plus-module-cookie-flag
44-
```
45-
46-
2. Put the [`load_module`](https://nginx.org/en/docs/ngx_core_module.html#load_module) directive in the top‑level (“`main`”) context of F5 NGINX Plus configuration file, **nginx.conf**:
47-
48-
```nginx
49-
load_module modules/ngx_http_cookie_flag_filter_module.so;
50-
51-
http {
52-
# ...
53-
}
54-
```
55-
56-
3. Perform additional configuration as required by the [module](https://github.com/AirisX/nginx_cookie_flag_module).
57-
58-
4. Test the NGINX Plus configuration. In a terminal, type-in the command:
59-
60-
```shell
61-
nginx -t
62-
```
63-
64-
Expected output of the command:
65-
66-
```shell
67-
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
68-
nginx: configuration file /etc/nginx/nginx.conf is successful
69-
```
70-
71-
5. Reload the NGINX Plus configuration to enable the module:
72-
73-
```shell
74-
nginx -s reload
75-
```
7621

7722
## More Info
7823

0 commit comments

Comments
 (0)