Skip to content

Conversation

@aknot242
Copy link
Collaborator

When uncommenting the config section used to restrict access to the NGINX Plus API, it will break NGINX Agent's ability to scrape the Plus API.

If this is the case, you may receive an access log entry similar to the following:

2025/10/14 11:04:35 [error] 21626#21626: *76799 access forbidden by rule, client: 127.0.0.1, server: , request: "GET /api//9/nginx HTTP/1.1", host: "localhost:9000"

Proposed changes

Create an additional allow rule to restore NGINX. Agent's ability to scrape the NGINX Plus API.

Checklist

Before sharing this pull request, I completed the following checklist:

Footnotes

  1. Potentially sensitive information includes personally identify information (PII), authentication credentials, and live URLs. Refer to the style guide for guidance about placeholder content.

Uncomment the allow directive for local NGINX Agent access.
@aknot242 aknot242 requested a review from a team as a code owner October 14, 2025 15:20
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Oct 14, 2025
@github-actions
Copy link

Deploy Preview will be available once build job completes!

Name Link
😎 Deploy Preview https://frontdoor-test-docs.nginx.com/previews/docs/1300/

Clarified comment on restricting network access for API.
@ADubhlaoich ADubhlaoich merged commit ca12180 into main Oct 14, 2025
9 checks passed
@ADubhlaoich ADubhlaoich deleted the aknot242-patch-1 branch October 14, 2025 15:30
pdabelf5 pushed a commit that referenced this pull request Oct 22, 2025
Clarified comment on restricting network access for API.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants