Skip to content

Commit b40ab0a

Browse files
authored
Merge branch 'main' into secure-your-fleet-r3
2 parents 9d1dd66 + 5e0e88d commit b40ab0a

File tree

70 files changed

+1553
-1305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+1553
-1305
lines changed

.github/pull_request_template.md

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,31 @@
11
### Proposed changes
22

3-
Write a clear and concise description that helps reviewers understand the purpose and impact of your changes. Use the
4-
following format:
3+
[//]: # "Write a clear and concise description of what the pull request changes."
4+
[//]: # "You can use our Commit messages guidance for this."
5+
[//]: # "https://github.com/nginx/documentation/blob/main/documentation/git-conventions.md#commit-messages"
56

6-
Problem: Give a brief overview of the problem or feature being addressed.
7+
[//]: # "First, explain what was changed, and why. This should be most of the detail."
8+
[//]: # "Then how the changes were made, such as referring to existing styles and conventions."
9+
[//]: # "Finish by noting anything beyond the scope of the PR changes that may be affected."
710

8-
Solution: Explain the approach you took to implement the solution, highlighting any significant design decisions or
9-
considerations.
11+
[//]: # "Include information on testing if relevant and non-obvious from the deployment preview."
12+
[//]: # "For expediency, you can use screenshots to show small before and after examples."
1013

11-
Testing: Describe any testing that you did.
14+
[//]: # "If the changes were defined by a GitHub issue, reference it using keywords."
15+
[//]: # "https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests"
1216

13-
Please focus on (optional): If you any specific areas where you would like reviewers to focus their attention or provide
14-
specific feedback, add them here.
15-
16-
If this PR addresses an [issue](https://github.com/nginx/documentation/issues) on GitHub, ensure that you link to it here:
17-
18-
Closes #ISSUE
17+
[//]: # "Do not like to any internal, non-public resources. This includes internal repository issues or anything in an intranet."
18+
[//]: # "You can make reference to internal discussions without linking to them: see 'Referencing internal information'."
19+
[//]: # "https://github.com/nginx/documentation/blob/main/documentation/closed-contributions.md#referencing-internal-information"
1920

2021
### Checklist
2122

22-
Before merging a pull request, run through this checklist and mark each as complete.
23+
Before sharing this pull request, I completed the following checklist:
2324

24-
- [ ] I have read the [contributing guidelines](https://github.com/nginx/documentation/blob/main/CONTRIBUTING.md)
25-
- [ ] I have signed the [F5 Contributor License Agreement (CLA)](https://github.com/f5/.github/blob/main/CLA/cla-markdown.md)
26-
- [ ] I have rebased my branch onto main
27-
- [ ] I have ensured my PR is targeting the main branch and pulling from my branch from my own fork
28-
- [ ] I have ensured that the commit messages adhere to [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/#summary)
29-
- [ ] I have ensured that documentation content adheres to [the style guide](/documentation/style-guide.md)
30-
- [ ] If the change involves potentially sensitive changes[^1], I have assessed the possible impact
31-
- [ ] If applicable, I have added tests that prove my fix is effective or that my feature works
32-
- [ ] I have ensured that existing tests pass after adding my changes
33-
- [ ] If applicable, I have updated [`README.md`](/README.md)
25+
- [ ] I read the [Contributing guidelines](/CONTRIBUTING.md)
26+
- [ ] My branch adheres to the [Git conventions](/documentation/git-conventions.md)
27+
- [ ] My content changes adhere to the [F5 NGINX Documentation style guide](/documentation/style-guide.md)
28+
- [ ] If my changes involve potentially sensitive information[^1], I have assessed the possible impact
29+
- [ ] I have waited to ensure my changes pass tests, and addressed any discovered issues
3430

35-
[^1]: Potentially sensitive changes include anything involving code, personally identify information (PII), live URLs or significant amounts of new or revised documentation. Please refer to [our style guide](/documentation/style-guide.md) for guidance about placeholder content.
31+
[^1]: Potentially sensitive information includes personally identify information (PII), authentication credentials, and live URLs. Refer to the [style guide](/documentation/style-guide.md) for guidance about placeholder content.

.github/workflows/ossf_scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ jobs:
5656

5757
# Upload the results to GitHub's code scanning dashboard.
5858
- name: Upload SARIF results to code scanning
59-
uses: github/codeql-action/upload-sarif@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
59+
uses: github/codeql-action/upload-sarif@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
6060
with:
6161
sarif_file: results.sarif

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ To understand how we use Git in this repository, read our [Git conventions](/doc
4141
The broad workflow is as follows:
4242

4343
- Fork the NGINX repository
44+
- If you're an F5/NGINX user, you can work from a clone
4445
- Create a branch
4546
- Implement your changes in your branch
4647
- Submit a pull request (PR) when your changes are ready for review

content/agent/installation-upgrade/installation-oss.md

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
5050
module_hotfixes=true
5151
```
5252

53-
1. To install `nginx-agent`, run the following command:
53+
1. To install `nginx-agent` with a specific version (example: 2.42.0):
5454

5555
```shell
56-
sudo yum install nginx-agent
56+
sudo yum install -y nginx-agent-2.42.0
5757
```
5858

5959
When prompted to accept the GPG key, verify that the fingerprint matches `8540 A6F1 8833 A80E 9C16 53A4 2FD2 1310 B49F 6B46`, `573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62`, `9E9B E90E ACBC DE69 FE9B 204C BCDC D8A3 8D88 A2B3`, and if so, accept it.
@@ -105,11 +105,13 @@ Before you install NGINX Agent for the first time on your system, you need to se
105105
| sudo tee /etc/apt/sources.list.d/nginx-agent.list
106106
```
107107

108-
1. To install `nginx-agent`, run the following commands:
109-
108+
1. To install `nginx-agent` with a specific version (example: 2.42.0):
109+
110+
Update your package index and install a specific version of the nginx-agent. Replace <VERSION_CODENAME> with your current Ubuntu codename (e.g., jammy, noble).
111+
110112
```shell
111113
sudo apt update
112-
sudo apt install nginx-agent
114+
sudo apt install -y nginx-agent=2.42.0~<VERSION_CODENAME>
113115
```
114116

115117
1. Verify the installation:
@@ -166,12 +168,13 @@ Before you install NGINX Agent for the first time on your system, you need to se
166168
http://packages.nginx.org/nginx-agent/debian/ `lsb_release -cs` agent" \ | sudo tee /etc/apt/sources.list.d/nginx-agent.list
167169
```
168170

169-
1. To install `nginx-agent`, run the following commands:
171+
1. To install `nginx-agent` with a specific version (example: 2.42.0):
170172

173+
Update your package index and install a specific version of the nginx-agent. Replace <VERSION_CODENAME> with your current Debian codename (e.g., bullseye).
174+
171175
```shell
172176
sudo apt update
173-
sudo apt install nginx-agent
174-
```
177+
sudo apt install -y nginx-agent=2.42.0~<VERSION_CODENAME>
175178
176179
1. Verify the installation:
177180
@@ -229,10 +232,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
229232
sudo rpmkeys --import /tmp/nginx_signing.key
230233
```
231234
232-
1. To install `nginx-agent`, run the following command:
235+
1. To install `nginx-agent` with a specific version (example: 2.42.0):
233236
234237
```shell
235-
sudo zypper install nginx-agent
238+
sudo zypper install -y nginx-agent=2.42.0
236239
```
237240
238241
1. Verify the installation:
@@ -303,10 +306,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
303306
sudo mv /tmp/nginx_signing.rsa.pub /etc/apk/keys/
304307
```
305308
306-
1. To install `nginx-agent`, run the following command:
309+
1. To install `nginx-agent` with a specific version (example: 2.42.0):
307310
308311
```shell
309-
sudo apk add nginx-agent
312+
sudo apk add nginx-agent=2.42.0
310313
```
311314
312315
1. Verify the installation:
@@ -334,10 +337,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
334337
module_hotfixes=true
335338
```
336339
337-
1. To install `nginx-agent`, run the following command:
340+
1. To install `nginx-agent` with a specific version (example: 2.42.0):
338341
339342
```shell
340-
sudo dnf install nginx-agent
343+
sudo dnf install -y nginx-agent-2.42.0
341344
```
342345
343346
1. When prompted to accept the GPG key, verify that the fingerprint matches
@@ -370,10 +373,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
370373
module_hotfixes=true
371374
```
372375
373-
1. To install `nginx-agent`, run the following command:
376+
1. To install `nginx-agent` with a specific version (example: 2.42.0):
374377
375378
```shell
376-
sudo yum install nginx-agent
379+
sudo yum install -y nginx-agent-2.42.0
377380
```
378381
379382
1. When prompted to accept the GPG key, verify that the fingerprint matches `8540 A6F1 8833 A80E 9C16 53A4 2FD2 1310 B49F 6B46`, `573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62`, `9E9B E90E ACBC DE69 FE9B 204C BCDC D8A3 8D88 A2B3`, and if so, accept it.
@@ -396,10 +399,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
396399
}
397400
```
398401
399-
1. To install `nginx-agent`, run the following command:
402+
1. To install `nginx-agent` with a specific version (example: 2.42.0):
400403
401404
```shell
402-
sudo pkg install nginx-agent
405+
sudo pkg install nginx-agent-2.42.0
403406
```
404407
405408
1. Verify the installation:

content/agent/installation-upgrade/installation-plus.md

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
7373
enabled=1
7474
```
7575

76-
1. To install `nginx-agent`, run the following command:
76+
1. To install `nginx-agent` with a specific version (example: 2.42.0):
7777

7878
```shell
79-
sudo yum install nginx-agent
79+
sudo yum install -y nginx-agent-2.42.0
8080
```
8181

8282
When prompted to accept the GPG key, verify that the fingerprint matches `8540 A6F1 8833 A80E 9C16 53A4 2FD2 1310 B49F 6B46`, `573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62`, `9E9B E90E ACBC DE69 FE9B 204C BCDC D8A3 8D88 A2B3`, and if so, accept it.
@@ -131,11 +131,13 @@ Before you install NGINX Agent for the first time on your system, you need to se
131131
| sudo tee /etc/apt/sources.list.d/nginx-agent.list
132132
```
133133

134-
1. To install `nginx-agent`, run the following commands:
134+
1. To install `nginx-agent` with a specific version (example: 2.42.0):
135135

136+
Update your package index and install a specific version of the nginx-agent. Replace <VERSION_CODENAME> with your current Ubuntu codename (e.g., jammy, noble).
137+
136138
```shell
137139
sudo apt update
138-
sudo apt install nginx-agent
140+
sudo apt install -y nginx-agent=2.42.0~<VERSION_CODENAME>
139141
```
140142

141143
1. Verify the installation:
@@ -183,12 +185,14 @@ Before you install NGINX Agent for the first time on your system, you need to se
183185
Acquire::https::pkgs.nginx.com::SslKey "/etc/ssl/nginx/nginx-repo.key";
184186
```
185187

186-
1. To install `nginx-agent`, run the following commands:
188+
1. To install `nginx-agent` with a specific version (example: 2.42.0):
187189

190+
Update your package index and install a specific version of the nginx-agent. Replace <VERSION_CODENAME> with your current Debian codename (e.g., bullseye).
191+
188192
```shell
189193
sudo apt update
190-
sudo apt install nginx-agent
191-
```
194+
sudo apt install -y nginx-agent=2.42.0~<VERSION_CODENAME>
195+
192196
193197
1. Verify the installation:
194198
@@ -265,10 +269,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
265269
sudo rpmkeys --import /tmp/nginx_signing.key
266270
```
267271
268-
1. To install `nginx-agent`, run the following command:
272+
1. To install `nginx-agent` with a specific version (example: 2.42.0):
269273
270274
```shell
271-
sudo zypper install nginx-agent
275+
sudo zypper install -y nginx-agent=2.42.0
272276
```
273277
274278
1. Verify the installation:
@@ -394,10 +398,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
394398
enabled=1
395399
```
396400
397-
1. To install `nginx-agent`, run the following command:
401+
1. To install `nginx-agent` with a specific version (example: 2.42.0):
398402
399403
```shell
400-
sudo dnf install nginx-agent
404+
sudo dnf install -y nginx-agent-2.42.0
401405
```
402406
403407
1. When prompted to accept the GPG key, verify that the fingerprint matches `8540 A6F1 8833 A80E 9C16 53A4 2FD2 1310 B49F 6B46`, `573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62`, `9E9B E90E ACBC DE69 FE9B 204C BCDC D8A3 8D88 A2B3`, and if so, accept it.
@@ -442,10 +446,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
442446
enabled=1
443447
```
444448
445-
1. To install `nginx-agent`, run the following command:
449+
1. To install `nginx-agent` with a specific version (example: 2.42.0):
446450
447451
```shell
448-
sudo yum install nginx-agent
452+
sudo yum install -y nginx-agent-2.42.0
449453
```
450454
451455
1. When prompted to accept the GPG key, verify that the fingerprint matches `8540 A6F1 8833 A80E 9C16 53A4 2FD2 1310 B49F 6B46`, `573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62`, `9E9B E90E ACBC DE69 FE9B 204C BCDC D8A3 8D88 A2B3`, and if so, accept it.
@@ -496,10 +500,10 @@ Before you install NGINX Agent for the first time on your system, you need to se
496500
SSL_CLIENT_KEY_FILE: "/etc/ssl/nginx/nginx-repo.key" }
497501
```
498502
499-
1. To install `nginx-agent`, run the following command:
503+
1. To install `nginx-agent` with a specific version (example: 2.42.0):
500504
501505
```shell
502-
sudo pkg install nginx-agent
506+
sudo pkg install nginx-agent-2.42.0
503507
```
504508
505509
1. Verify the installation:

content/agent/installation-upgrade/upgrade.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ To upgrade NGINX Agent to a specific **v2.x version**, follow these steps:
6060
sudo apt-get install -y nginx-agent=<specific-version> -o Dpkg::Options::="--force-confold"
6161
```
6262

63-
Example (to upgrade to version 2.41.1~noble):
63+
Example (to upgrade to version 2.42.0~noble):
6464

6565
```shell
66-
sudo apt-get install -y nginx-agent=2.41.1~noble -o Dpkg::Options::="--force-confold"
66+
sudo apt-get install -y nginx-agent=2.42.0~noble -o Dpkg::Options::="--force-confold"
6767
```
6868

6969
- CentOS, RHEL, RPM-Based
@@ -72,10 +72,10 @@ To upgrade NGINX Agent to a specific **v2.x version**, follow these steps:
7272
sudo yum install -y nginx-agent-<specific-version>
7373
```
7474

75-
Example (to upgrade to version `2.41.1`):
75+
Example (to upgrade to version `2.42.0`):
7676

7777
```shell
78-
sudo yum install -y nginx-agent-2.41.1
78+
sudo yum install -y nginx-agent-2.42.0
7979
```
8080

8181
1. Verify the installed version:

content/agent/technical-specifications.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ This document provides technical specifications for NGINX Agent. It includes inf
1414
{{< bootstrap-table "table table-striped table-bordered" >}}
1515
| NGINX Product | Agent Version |
1616
|------------------------------|----------------|
17-
| **NGINX One Console** | 2.x |
17+
| **NGINX One Console** | 3.x |
1818
| **NGINX Gateway Fabric** | 3.x |
1919
| **NGINX Plus** | 2.x, 3.x |
20-
| **NGINX Ingress Controller** | 2.x |
20+
| **NGINX Ingress Controller** | 2.x, 3.x |
2121
| **NGINX Instance Manager** | 2.x |
2222
{{< /bootstrap-table >}}
2323

content/includes/agent/installation/update-container.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ wget https://raw.githubusercontent.com/nginx/agent/refs/heads/v3/scripts/package
1414
./upgrade-agent-config.sh --v2-config-file=./nginx-agent-v2.conf --v3-config-file=nginx-agent-v3.conf
1515
```
1616

17-
If your NGINX Agent container was previously a member of a config sync group, then your NGINX Agent config must be manually updated to add the config sync group label.
17+
If your NGINX Agent container was previously a member of a Config Sync Group, then your NGINX Agent config must be manually updated to add the Config Sync Group label.
1818
See [Add Config Sync Group]({{< ref "/nginx-one/nginx-configs/config-sync-groups/manage-config-sync-groups.md" >}}) for more information.
1919

2020
### Rolling back from NGINX Agent v3 to v2
2121

2222
If you need to roll back your environment to NGINX Agent v2, the upgrade process creates a backup of the NGINX Agent v2 config in the file `/etc/nginx-agent/nginx-agent-v2-backup.conf`.
2323

24-
Replace the contents of `/etc/nginx-agent/nginx-agent.conf` with the contents of `/etc/nginx-agent/nginx-agent-v2-backup.conf` and then reinstall an older version of NGINX Agent.
24+
Replace the contents of `/etc/nginx-agent/nginx-agent.conf` with the contents of `/etc/nginx-agent/nginx-agent-v2-backup.conf` and then reinstall an older version of NGINX Agent.

content/includes/agent/installation/update.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ files:
1010

1111
- `sudo systemctl stop nginx-agent`
1212

13-
And start it again after the update:
13+
And start it again after the update or upgrade:
1414

1515
- `sudo systemctl start nginx-agent`
1616
{{< /note >}}
1717

18-
Follow the steps below to update NGINX Agent to the latest version.
18+
Follow the steps below to update or upgrade NGINX Agent to the latest version.
1919
The same steps apply if you are **upgrading from NGINX Agent v2 to NGINX Agent v3**.
2020

2121
1. Open an SSH connection to the server where you've installed NGINX Agent.

content/includes/licensing-and-reporting/apply-jwt.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
---
2-
docs:
32
file:
43
- content/solutions/about-subscription-licenses.md
54
- content/nap-waf/v5/admin-guide/install.md
65
---
76

8-
1. Copy the license file to `/etc/nginx/license.jwt` on Linux or `/usr/local/etc/nginx/license.jwt` on FreeBSD for each NGINX Plus instance.
9-
2. Reload NGINX:
7+
1. Copy the license file to:
8+
9+
- `/etc/nginx/license.jwt` on Linux
10+
- `/usr/local/etc/nginx/license.jwt` on FreeBSD
11+
12+
1. Reload NGINX:
1013

1114
```shell
1215
systemctl reload nginx

0 commit comments

Comments
 (0)