Skip to content

add website docs for NIC cache policy #962

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 99 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
a1bb1da
Improve user experience in Get Started guide for NGF (#799)
shaun-nx Jul 11, 2025
d2f2216
fixed the Service Mesh and ACM EoS banners (#808)
travisamartin Jul 11, 2025
854ea90
update language for NIC opentracing doc (#809)
vepatel Jul 14, 2025
a1a004b
Add NGF permissions document (#810)
sarthyparty Jul 15, 2025
166a2a0
Nap usecase stage1 (#817)
mjang Jul 15, 2025
8545aa1
feature: incorporate NIC into NGINX 1 Console (not yet for NGF) (#736)
mjang Jul 15, 2025
58c4a46
fix: Update closed-contributions.md based on user testing (#819)
mjang Jul 16, 2025
8f77162
docs: update N1 config sync steps for v3 (#825)
JTorreG Jul 16, 2025
e6f959b
Style guide: added list of acronyms that don't need to be spelled out…
travisamartin Jul 16, 2025
44bd9f6
NIC: Updates to connect to NGINX One Console (#823)
AlexFenlon Jul 17, 2025
a2ae857
NIC: Bump Helm chart and Helm operator shortcodes (#834)
AlexFenlon Jul 17, 2025
4cc97f3
fix: Bump Helm Chart version in release notes (#835)
AlexFenlon Jul 17, 2025
005e32b
fix URL for agent connect to N1 Console (#827)
mjang Jul 17, 2025
adba924
feat: add list of NGINX alerts in XC (#829)
mjang Jul 17, 2025
f8e6299
docs: Update blocked ports list for NGINXaaS Azure listen directive (…
rnandwal-f5 Jul 17, 2025
55305f4
fix: Be explicit about the use of the Preview channel (#830)
russokj Jul 17, 2025
cb99920
Fix nginx-one agent overview url (#837)
nginx-jack Jul 17, 2025
adab21c
fix: updated the unsupported OS list (#838)
balakoteswar Jul 17, 2025
ae308a6
Removed unneeded `isFeatured` param for cards (#840)
lamATnginx Jul 17, 2025
29c77ec
Update on mainframe the correct url for Unit (#842)
lamATnginx Jul 17, 2025
4d0c174
Bump theme version to v0.43.6 (#843)
lamATnginx Jul 17, 2025
bce128d
Update N1 landing page images (#844)
lamATnginx Jul 17, 2025
a62b99d
fix: Reorg cards in N1 Console index (#845)
mjang Jul 17, 2025
68ac21e
Add description to slack notification for new theme release (#847)
lamATnginx Jul 17, 2025
e183ef5
Resolved incorrect object name for the slack message in build workflo…
lamATnginx Jul 17, 2025
937ac83
fix: Update mgmt usage report interval (#850)
vepatel Jul 18, 2025
4f0ba08
fix: Revert changes to Plus table for supported operating systems (#852)
y82 Jul 18, 2025
fea7686
fix: replace incorrect 'NGINX One' labels with 'NGINX One Console' wh…
shekhar-11 Jul 18, 2025
bbb3861
fix: Add Offline steps to install WAF compiler on NIM (#853)
vvnginx Jul 18, 2025
43fd0cb
feat: Add OpenTelemetry documentation (#824)
ADubhlaoich Jul 18, 2025
186043f
Added link to blogpost for ModSec Waf Dynamic Module. (#832)
y82 Jul 18, 2025
6a9888c
fix: Bump NIC Helm Operator Version (#858)
AlexFenlon Jul 21, 2025
aea98f5
docs: add new NGINX Unit landing cards (#841)
JTorreG Jul 21, 2025
5bd3404
feat: add new landing page for NGINXaas for Azure (#804)
JTorreG Jul 21, 2025
4cc8995
feat: Update policy-resource.md (#860)
mohamadaldawamnah Jul 21, 2025
45d2012
fix: change heading level (#861)
JTorreG Jul 21, 2025
296238b
chore: update the nginx-agent.conf example to Agent V3 version. (#855)
yluf5 Jul 21, 2025
9261742
docs: update nginx-one api doc (#857)
nginx-nickc Jul 21, 2025
c3ddda6
Update multiple licenses (#866)
mjang Jul 21, 2025
0b9e334
Add JWT license deployment steps for Config Sync Groups; clarify NIM …
travisamartin Jul 21, 2025
613d1d0
edits to about subscription licenses (#871)
travisamartin Jul 21, 2025
33ae199
fix: Update supported OS table for NGINX Instance Manager (#851)
balakoteswar Jul 22, 2025
ccd4a21
Removed duplicated directive (#872)
fabriziofiorucci Jul 22, 2025
8243fe5
fix: Include option to clone in CONTRIBUTING.md (#864)
mjang Jul 22, 2025
433ddb6
docs: update v3 steps for NGINX One config proxy (#873)
JTorreG Jul 22, 2025
b214778
Update the nginx-agent config example with both Agent V3 and Agent V2…
yluf5 Jul 22, 2025
cb154e8
feat: Update NGINX Plus link to AWS QuickStart. (#878)
y82 Jul 23, 2025
af23317
Fix: Remove readfile usages and replace with includes (#879)
nginx-jack Jul 23, 2025
5fa6edb
Remove axios dependency (#875)
lamATnginx Jul 23, 2025
2f0304d
NGINXaaS: Add display name to metrics catalog (#756)
arpith-f5 Jul 23, 2025
f27f44a
Add specific version instructions for NGINX Agent v2 installation (#859)
nginx-seanmoloney Jul 24, 2025
aa3a4dd
fix: release notes and update sec monitoring tutorial (#887)
vepatel Jul 24, 2025
8c8d2e2
fix: Update NGINX One YAML URLs (#792)
mjang Jul 24, 2025
7871248
Doc for agent version upgrade/updates (#891)
mjang Jul 25, 2025
9780d44
Remove unneeded span on getting started for N1 (#897)
lamATnginx Jul 25, 2025
c2bac04
build(deps): bump github/codeql-action from 3.29.2 to 3.29.4 (#898)
dependabot[bot] Jul 28, 2025
84af917
Update compatibility table in Technical specifications (#896)
nginx-seanmoloney Jul 28, 2025
fb2abfd
Include JWT license reference to installing-nginx-docker.md (#899)
mjang Jul 28, 2025
30dd70e
feat: Update Hugo and PR template guidance (#894)
ADubhlaoich Jul 30, 2025
87b16a3
feat: Clarify NGINX Ingress Controller install & upgrade documentatio…
ADubhlaoich Jul 30, 2025
1485346
Update docker connect to N1C command (#905)
mjang Jul 30, 2025
b27836e
Correct the config sync group syntax (#910)
nginx-seanmoloney Jul 30, 2025
5e0e88d
fix: include CVSS scores in CVE list. Other fixes on dashboard page. …
mjang Jul 30, 2025
7db8c28
fix: Expose Agent config options (#895)
mjang Jul 30, 2025
14ec597
fix: update manifest instructions to enable NAP security monitoring f…
vepatel Jul 31, 2025
fa4a57f
fix: replace rel links with abs links in template (#915)
JTorreG Jul 31, 2025
eea31dd
docs: Update Agent Supported Distributions and 3.0 Compatibility (#839)
aphralG Jul 31, 2025
58f9afa
Docs: Update supported OS's for agent V2 (#913)
aphralG Jul 31, 2025
797568e
Fix UI validation issue with clicking consent (#919)
lamATnginx Aug 5, 2025
46b8c01
fix: Async issues with UI validation workflow (#921)
lamATnginx Aug 5, 2025
f93ca59
Restore H2 "Enable NGINX metrics reporting" to N1 Getting Started Gui…
travisamartin Aug 5, 2025
2cd3743
build(deps): bump github/codeql-action from 3.29.4 to 3.29.5 (#918)
dependabot[bot] Aug 6, 2025
fb92a70
feature: Secure your fleet, NGINX One (#731)
mjang Aug 6, 2025
24e6488
feat: Update old call-outs to use new style (#925)
ADubhlaoich Aug 7, 2025
4cc9eb4
fix: Remove last remaining old-style call-out (#928)
ADubhlaoich Aug 7, 2025
98340aa
fix: adding rhel-9 compiler install and sec updates manual upload ins…
balakoteswar Aug 8, 2025
fba8d5e
feat: Add a landing page for NGINX Gateway Fabric (#911)
ADubhlaoich Aug 8, 2025
77d05c8
build(deps): bump github/codeql-action from 3.29.7 to 3.29.8 (#934)
dependabot[bot] Aug 11, 2025
cabc864
build(deps): bump actions/download-artifact from 4 to 5 (#935)
dependabot[bot] Aug 11, 2025
bb9796b
feat: Update linkchecker.yml (#936)
nginx-aoife Aug 11, 2025
bef41ba
feat: Add workflow to detect changes in dot org (#854)
lamATnginx Aug 11, 2025
6c4ff0a
Bump theme version (#941)
lamATnginx Aug 11, 2025
03669a6
Add documentation for certificate expiry alerts. (#942)
nkashiv Aug 12, 2025
9c05ab0
fix: Update manual install steps for RHEL-9 (#908)
vvnginx Aug 12, 2025
67b4a4b
Fix rendering issues on azure landing page (#947)
lamATnginx Aug 12, 2025
ce0d9ae
Update go.sum with new theme (#948)
lamATnginx Aug 12, 2025
58dab7f
feat: Update linkchecker action (#945)
nginx-aoife Aug 13, 2025
ebc5bf4
NGINX Plus R35. (#951)
y82 Aug 13, 2025
fba154b
Update OIDC deployment guides to reflect R35 capabilities. (#952)
y82 Aug 13, 2025
b858b4b
fix: remove NSP warning (#950)
ryepup Aug 13, 2025
b2cae01
feat: NGINX App Protect DoS 4.7 release (#937)
ADubhlaoich Aug 13, 2025
a243f44
feat: NGINX App Protect WAF 5.8 release notes (#938)
ADubhlaoich Aug 13, 2025
274ddb7
Fix: urls in r35 release notes (#955)
y82 Aug 13, 2025
6e20da3
feat: Fix NAP 5.8 R35 note (#956)
ADubhlaoich Aug 13, 2025
13c6b5b
Bump theme version to v0.43.8 (#957)
lamATnginx Aug 13, 2025
89e077e
Add new user to jwt token generation for coveo (#943)
lamATnginx Aug 13, 2025
241a255
Update go.sum file (#958)
lamATnginx Aug 13, 2025
24c3c86
Update product icons (#946)
lamATnginx Aug 13, 2025
e39fa94
add website docs for NIC cache policy
vepatel Aug 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .cloudcannon/schemas/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ To do xzy, take the following steps:

2. Format as numbered lists.

{{< note >}}Add notes like this.{{</note>}}
{{< call-out "note" >}}Add notes like this.{{< /call-out >}}

3. If there is only one step, you don't need to format it as a numbered list.

Expand Down
2 changes: 1 addition & 1 deletion .cloudcannon/schemas/nms/policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ The following table lists the configurable settings and their default values for

{{%tab name="API"%}}

{{<see-also>}}{{< include "acm/how-to/access-acm-api.md" >}}{{</see-also>}}
{{< call-out "note" >}}{{< include "acm/how-to/access-acm-api.md" >}}{{< /call-out >}}

To create an XYZ policy using the REST API, send an HTTP `POST` request to the Add-Endpoint-Name-Here endpoint.

Expand Down
44 changes: 20 additions & 24 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,31 @@
### Proposed changes

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

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

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

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

Please focus on (optional): If you any specific areas where you would like reviewers to focus their attention or provide
specific feedback, add them here.

If this PR addresses an [issue](https://github.com/nginx/documentation/issues) on GitHub, ensure that you link to it here:

Closes #ISSUE
[//]: # "Do not like to any internal, non-public resources. This includes internal repository issues or anything in an intranet."
[//]: # "You can make reference to internal discussions without linking to them: see 'Referencing internal information'."
[//]: # "https://github.com/nginx/documentation/blob/main/documentation/closed-contributions.md#referencing-internal-information"

### Checklist

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

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

[^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.
[^1]: Potentially sensitive information includes personally identify information (PII), authentication credentials, and live URLs. Refer to the [style guide](https://github.com/nginx/documentation/blob/main/documentation/style-guide.md) for guidance about placeholder content.
5 changes: 5 additions & 0 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ jobs:
value: `${{ github.event.client_payload.author }}`,
short: true
},
{
title: 'Description',
value: `${{ github.event.client_payload.description }}`,
short: false
},
{
title: 'Preview URL',
value: `${{ env.PREVIEW_URL }}`,
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/coveo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ jobs:
"type": "User",
"name": "anonymous",
"provider": "Email Security Provider"
},
{
"type": "User",
"name": "[email protected]",
"provider": "Email Security Provider"
}
]
}')
Expand Down Expand Up @@ -72,7 +77,7 @@ jobs:
needs: generate-coveo-search-token
steps:
- name: Download Coveo search token
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5

- name: View files
run: ls -R
Expand Down
56 changes: 56 additions & 0 deletions .github/workflows/dot-org-content.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Detect changes in documentation within nginx/nginx.org

on:
schedule:
- cron: "0 */23 * * *"
permissions:
contents: write
pull-requests: write
issues: write

jobs:
detect-changes:
name: Detect changes in 'en' docs of nginx/nginx.org
runs-on: ubuntu-latest
outputs:
IS_CHANGES_DETECTED: ${{ steps.check_changes.outputs.changed }}
steps:
- name: Checkout Repository
uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2 # v4.2.2
with:
fetch-depth: 0
- name: Clone the nginx/nginx-org repository
run: |
git clone --depth=2 https://github.com/nginx/nginx.org.git dot-org-repo
- name: Check for changes in xml/en folder
id: check_changes
run: |
cd dot-org-repo

if git whatchanged --since="1 day ago" -- _xml/en/; then
echo "Changes detected in /en"
echo "changed=true" >> $GITHUB_OUTPUT
else
echo "No changes in /en"
echo "changed=false" >> $GITHUB_OUTPUT
fi
- name: Execute make target 'make hugo-md' to generate markdown
if: steps.check_changes.outputs.changed == 'true'
run: |
cd dot-org-repo
make module-markdown
- name: Create PR
uses: peter-evans/create-pull-request@v7
if: steps.check_changes.outputs.changed == 'true'
with:
commit-message: "chore: Update nginx plus module reference from detected changes in nginx/nginx.org"
labels: product/nginx-plus, dependencies, module-reference
base: main
branch: update-nginx-module-ref
title: 'NGINX Plus - Module Ref: Update content for content/nginx due to detected changes'
add-paths: |
dot-org-repo/libxslt-md/
dot-org-repo/yaml/nginx_api.yaml
body: |
### Proposed Changes
Updated NGINX Plus docs.
2 changes: 1 addition & 1 deletion .github/workflows/linkchecker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ env:
--ignore-url ^https://lightstep.com --ignore-url ^https://www.owasp.org/ --ignore-url ^https://www.maxmind.com --ignore-url ^https://www.splunk.com/
--ignore-url ^https://oauth2.googleapis.com --ignore-url ^https://openidconnect.googleapis.com --ignore-url ^https://www.base64url.com/
--ignore-url ^https://go.googlesource.com/ --ignore-url ^https://go.googlesource.com/sync --ignore-url ^https://linkerd.io/2.13/
--ignore-url ^http://www.redirectpage.com/ --ignore-url ^https://www.gnu.org/ --ignore-url ^https://insert_your_tenant_name.console.ves.volterra.io/
--ignore-url ^http://www.redirectpage.com/ --ignore-url ^https://www.gnu.org/ --ignore-url ^https://insert_your_tenant_name.console.ves.volterra.io
--ignore-url ^https://\([a-zA-Z0-9-]+\).nginx.com/nginx-ingress-controller/css
--ignore-url ^https://\([a-zA-Z0-9-]+\).nginx.com/nginxaas/azure/css
--ignore-url ^https://\([a-zA-Z0-9-]+\).nginx.com/nginx-gateway-fabric/css
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ossf_scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: Upload SARIF results to code scanning
uses: github/codeql-action/upload-sarif@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
uses: github/codeql-action/upload-sarif@76621b61decf072c1cee8dd1ce2d2a82d33c17ed # v3.29.5
with:
sarif_file: results.sarif
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ To understand how we use Git in this repository, read our [Git conventions](/doc
The broad workflow is as follows:

- Fork the NGINX repository
- If you're an F5/NGINX user, you can work from a clone
- Create a branch
- Implement your changes in your branch
- Submit a pull request (PR) when your changes are ready for review
Expand Down
8 changes: 8 additions & 0 deletions _banners/eos-acm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{{< banner "warning" "End of Sale Notice:" >}}
<br>
F5 NGINX is announcing the <strong>End of Sale (EoS)</strong> for NGINX Management Suite API Connectivity Manager Module, <strong>effective January 1, 2024</strong>.
<br><br>
F5 maintains generous lifecycle policies that allow customers to continue support and receive product updates. Existing API Connectivity Manager Module customers can continue to use the product past the EoS date. <strong>License renewals are not available after September 30, 2024.</strong>
<br><br>
See our <a href="https://my.f5.com/manage/s/article/K000137989">End of Sale announcement</a> for more details.
{{</ banner >}}
12 changes: 6 additions & 6 deletions _banners/eos-mesh.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{{< banner "warning" "End of Sale Notice:" >}}
<br>
F5 NGINX is announcing the <strong>End of Sale (EoS)</strong> for NGINX Management Suite API Connectivity Manager Module, <strong>effective January 1, 2024</strong>.
<br><br>
F5 maintains generous lifecycle policies that allow customers to continue support and receive product updates. Existing API Connectivity Manager Module customers can continue to use the product past the EoS date. <strong>License renewals are not available after September 30, 2024.</strong>
<br><br>
See our <a href="https://my.f5.com/manage/s/article/K000137989">End of Sale announcement</a> for more details.
<p>
Commercial support for NGINX Service Mesh is available to customers who currently have active NGINX Microservices Bundle subscriptions. F5 NGINX announced the End of Sale (EoS) for the NGINX Microservices Bundles as of <strong>July 1, 2023</strong>.
</p>
<p>
See our <a href="https://my.f5.com/manage/s/article/K000135468">End of Sale announcement</a> for more details.
</p>
{{</ banner >}}
2 changes: 1 addition & 1 deletion content/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
title: NGINX Product Documentation
description: Learn how to deliver, manage, and protect your applications using F5 NGINX products.
---
---
2 changes: 1 addition & 1 deletion content/agent/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: NGINX Agent
url: /nginx-agent/
cascade:
logo: NGINX-product-icon.png
logo: NGINX-Agent-product-icon.svg
nd-banner:
enabled: true
type: deprecation
Expand Down
2 changes: 1 addition & 1 deletion content/agent/configuration/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "Configuration"
weight: "400"
url: /nginx-agent/configuration/
cascade:
logo: NGINX-product-icon.png
logo: NGINX-product-icon.svg
layout: agent-v2-migration
---

Expand Down
24 changes: 12 additions & 12 deletions content/agent/configuration/configuration-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ nd-content-type: how-to

The following sections explain how to configure NGINX Agent using configuration files, CLI flags, and environment variables.

{{<note>}}
{{< call-out "note" >}}

- NGINX Agent interprets configuration values set by configuration files, CLI flags, and environment variables in the following priorities:

Expand All @@ -19,7 +19,7 @@ The following sections explain how to configure NGINX Agent using configuration

- You must open any required firewall ports or add SELinux/AppArmor rules for the ports and IPs you want to use.

{{</note>}}
{{< /call-out >}}

## Configure with Config Files

Expand All @@ -30,9 +30,9 @@ Examples of the configuration files are provided below:
<details open>
<summary>example nginx-agent.conf</summary>

{{<note>}}
{{< call-out "note" >}}
In the following example `nginx-agent.conf` file, you can change the `server.host` and `server.grpcPort` to connect to the control plane.
{{</note>}}
{{< /call-out >}}

```nginx {hl_lines=[13]}
#
Expand Down Expand Up @@ -118,11 +118,11 @@ nginx_app_protect:
<details open>
<summary>example dynamic-agent.conf</summary>

{{<note>}}
{{< call-out "note" >}}
Default location in Linux environments: `/var/lib/nginx-agent/agent-dynamic.conf`

Default location in FreeBSD environments: `/var/db/nginx-agent/agent-dynamic.conf`
{{</note>}}
{{< /call-out >}}

```yaml
# Dynamic configuration file for NGINX Agent.
Expand Down Expand Up @@ -169,13 +169,13 @@ nginx-agent

### CLI Flags and Environment Variables

{{< warning >}}
{{< call-out "warning" >}}

Before version 2.35.0, the environment variables were prefixed with `NMS_` instead of `NGINX_AGENT_`.

If you are upgrading from an older version, update your configuration accordingly.

{{< /warning >}}
{{< /call-out >}}

{{<bootstrap-table "table table-responsive table-bordered">}}
| CLI flag | Environment variable | Description |
Expand Down Expand Up @@ -218,7 +218,7 @@ If you are upgrading from an older version, update your configuration accordingl

<br>

{{<note>}}
{{< call-out "note" >}}
Use the `--config-dirs` command-line option, or the `config_dirs` key in the `nginx-agent.conf` file, to identify the directories NGINX Agent can read from or write to. This setting also defines the location to which you can upload config files when using a control plane.

NGINX Agent cannot write to directories outside the specified location when updating a config and cannot upload files to directories outside of the configured location.
Expand All @@ -227,15 +227,15 @@ NGINX Agent follows NGINX configuration directives to file paths outside the des

- [`ssl_certificate`](https://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_certificate)

{{</note>}}
{{< /call-out >}}

{{<note>}} Use the `--dynamic-config-path` command-line option to set the location of the dynamic config file. This setting also requires you to move your dynamic config to the new path, or create a new dynamic config file at the specified location.
{{< call-out "note" >}} Use the `--dynamic-config-path` command-line option to set the location of the dynamic config file. This setting also requires you to move your dynamic config to the new path, or create a new dynamic config file at the specified location.

Default location in Linux environments: `/var/lib/nginx-agent/agent-dynamic.conf`

Default location in FreeBSD environments: `/var/db/nginx-agent/agent-dynamic.conf`

{{</note>}}
{{< /call-out >}}

## Log Rotation

Expand Down
2 changes: 1 addition & 1 deletion content/agent/configuration/encrypt-communication.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ NGINX_AGENT_TLS_ENABLE=true

## Enable Server-Side TLS With Self-Signed Certificate

{{< warning >}}These steps are not recommended for production environments.{{< /warning >}}
{{< call-out "warning" >}}These steps are not recommended for production environments.{{< /call-out >}}

To enable server-side TLS with a self-signed certificate, you must have TLS enabled and set `skip_verify` to `true`, which disables hostname validation. Setting `skip_verify` can be done done only by updating the configuration file. See the following example:

Expand Down
2 changes: 1 addition & 1 deletion content/agent/installation-upgrade/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ description: Learn how to install, upgrade, and uninstall NGINX Agent.
weight: 300
url: /nginx-agent/v2/installation-upgrade/
cascade:
logo: NGINX-product-icon.png
logo: NGINX-product-icon.svg
type: agent-v2-migration
---
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ description: Learn how to build and run NGINX Agent docker images.
weight: 800
url: /nginx-agent/v2/installation-upgrade/container-environments/
cascade:
logo: NGINX-product-icon.png
logo: NGINX-product-icon.svg
type: agent-v2-migration
---
Loading