Skip to content

Conversation

rishabh-f5
Copy link

@rishabh-f5 rishabh-f5 commented Aug 22, 2025

Proposed changes

Checklist

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

Screenshot 2025-08-22 at 8 04 09 PM

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.

@rishabh-f5 rishabh-f5 requested a review from a team as a code owner August 22, 2025 05:23
@github-actions github-actions bot added documentation Improvements or additions to documentation product/nginxaas-azure Issues related to NGINX as a Service for Azure labels Aug 22, 2025
Copy link
Contributor

@mjang mjang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that you've removed /tmp and /var/cache/nginx from the table. Is this intentional? Do we no longer support writes to these directories?

If so, I'm concerned this might be a "breaking change".

@rishabh-f5 rishabh-f5 requested review from mjang and ryepup September 4, 2025 06:28
{{</bootstrap-table>}}

**Uploaded files can be placed in:**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I read this quickly, I'd ask: "What about /tmp and /var/cache/nginx"?

@rishabh-f5 rishabh-f5 requested a review from mjang September 9, 2025 16:08
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This docs says the same thing in four ways:

  1. big table
  2. bulleted list
  3. bulleted list with more words
  4. plaintext code block

I think that's a lot more confusing than what we had. If AI wrote this, please keep in mind the F5 AI policy, especially

Review outputs from approved AI Applications

How about we just stick to the table and delete the other three?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the four methods that @ryepup noted leads to inconsistencies such as https://github.com/nginx/documentation/pull/1020/files#r2334077715 .


| Directory | Master Read | Master Write | Worker Read | Worker Write | Recommended Use |
|-------------------|:-----------:|:------------:|:-----------:|:------------:|----------------------------------|
| /etc/nginx/ | ✔️ | ✔️ | ❌ | ❌ | Certificates, keys |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NGINX config files are recommend here

| Directory | Master Read | Master Write | Worker Read | Worker Write | Recommended Use |
|-------------------|:-----------:|:------------:|:-----------:|:------------:|----------------------------------|
| /etc/nginx/ | ✔️ | ✔️ | ❌ | ❌ | Certificates, keys |
| /opt/ | ✔️ | ✔️ | ✔️ | ❌ | Application files |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's an example "Application file"?

| /var/www/ | ✔️ | ✔️ | ✔️ | ❌ | Static files (e.g. index.html) |
| /tmp/ | ✔️ | ✔️ | ✔️ | ✔️ | Temporary files |
| /var/cache/nginx/ | ✔️ | ✔️ | ✔️ | ✔️ | Cache data |
| /etc/app_protect/ | ✔️ | ✔️ | ✔️ | ❌ | App Protect policies, logs |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

app protect logs don't live here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where would they live? Based on standard Linux conventions, I'd assume some /var subdirectory

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's configurable via NGINX config, but this is a table for where users can upload files on their deployment. Users aren't uploading logs.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Users aren't uploading logs.

But they do need to reserve space for their logs on their systems.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But they do need to reserve space for their logs on their systems.

Not on NGINXaaS, that is not part of the user's responsibility. NGINXaaS manages the OS / filesystem, the user just focused on their NGINX config.

Copy link
Contributor

@mjang mjang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comments

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 product/nginxaas-azure Issues related to NGINX as a Service for Azure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants