Skip to content

Create new Reverse Proxy.md, remove old#1510

Open
adamoutler wants to merge 2 commits intonetalertx:mainfrom
adamoutler:proxy-docs
Open

Create new Reverse Proxy.md, remove old#1510
adamoutler wants to merge 2 commits intonetalertx:mainfrom
adamoutler:proxy-docs

Conversation

@adamoutler
Copy link
Member

@adamoutler adamoutler commented Feb 12, 2026

📌 Description

Replaced the old multi-page reverse-proxy guides with a single, concise REVERSE_PROXY.md


🔍 Related Issues

Relates to #1469 #1496 #1450 #1440 #1403 #1394 #1468


📋 Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • ♻️ Code refactor
  • 📚 Documentation update
  • 🧪 Test addition or change
  • 🔧 Build/config update
  • 🚀 Performance improvement
  • 🔨 CI/CD or automation
  • 🧹 Cleanup / chore

📷 Screenshots or Logs (if applicable)

Kept BACKEND_API_URL.png and nginx_proxy_manager_npm.png. Removed legacy Authentik/flow images.


🧪 Testing Steps

  • Built docs locally: mkdocs build --strict (no broken links).
  • Grep for removed filenames to confirm no remaining references.
  • Manual proofread of REVERSE_PROXY.md and UI text changes.

✅ Checklist

  • I have read the Contribution Guidelines
  • I have tested my changes locally
  • I have updated relevant documentation (if applicable)
  • I have verified my changes do not break existing behavior
  • I am willing to respond to requested changes and feedback

🙋 Additional Notes

I kept it brief and removed all the clutter, offloading support to where it belongs.

Summary by CodeRabbit

  • Documentation
    • Streamlined reverse-proxy docs into a Getting Started guide with diagrams and port guidance.
    • Removed detailed provider-specific guides for Caddy and Traefik and deleted an outdated diagram.
    • Simplified Backend API URL guidance and example text.
    • Collapsed reverse-proxy navigation into a single entry and updated a link label for clarity.
    • Removed a Backend API URL subsection from a skills/settings document.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 12, 2026

📝 Walkthrough

Walkthrough

This PR substantially refactors reverse-proxy documentation: consolidates REVERSE_PROXY.md into a Getting Started Nginx Proxy Manager‑focused guide, removes Caddy/Traefik guides and a draw.io diagram, and updates a frontend BACKEND_API_URL language string and minor docs navigation/text.

Changes

Cohort / File(s) Summary
Main Reverse Proxy Guide
docs/REVERSE_PROXY.md
Rewrote from multi-provider, step-by-step configs to a condensed Getting Started guide (Nginx Proxy Manager focus); added port/connection overviews, Mermaid charts, and removed extensive platform-specific configuration blocks.
Removed Platform Guides & Diagram
docs/REVERSE_PROXY_CADDY.md, docs/REVERSE_PROXY_TRAEFIK.md, docs/img/REVERSE_PROXY/reverse_proxy_flow.drawio
Deleted community-contributed Caddy and Traefik guides and the draw.io architecture diagram; documentation-only removals.
Docs/Metadata & Text
.github/skills/settings-management/SKILL.md, docs/README.md, mkdocs.yml
Removed Backend API URL subsection and Codespaces example from SKILL.md; changed README link text (“Reverse Proxy”); collapsed navigation entries in mkdocs.yml.
Frontend Language
front/php/templates/language/en_us.json
Simplified BACKEND_API_URL_description to indicate frontend-backend communication defaults to /server and generally should not be changed (text-only update).

Possibly related PRs

  • Enable proxies on docs #1450: Updates backend exposure at /server and OpenAPI/back-end URL resolution — closely related to the BACKEND_API_URL description and reverse-proxy docs.

Poem

🐰
I hopped through docs with nimble feet,
Trimmed the trails and cleared the wheat.
Caddy and Traefik softly shelved,
/server signals where the frontend delved.
A tidy burrow, all neat and sweet.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly reflects the main change: replacing old multi-page reverse-proxy documentation with a consolidated REVERSE_PROXY.md, combining both creation and removal aspects.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

No actionable comments were generated in the recent review. 🎉


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In @.github/skills/settings-management/SKILL.md:
- Around line 43-46: The instruction text and example disagree: the line
instructs "set BACKEND_API_URL to your Codespace URL" but the example value is
"/server"; update the doc so they match by replacing the example `/server` with
a Codespaces URL placeholder (e.g. https://<your-codespace>.githubpreview.dev)
or alternatively change the sentence to say "set BACKEND_API_URL to your backend
path (e.g. /server)"; modify the SKILL.md lines referencing BACKEND_API_URL and
the example value so the wording and example are consistent.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@docs/REVERSE_PROXY.md`:
- Around line 74-76: The sentence in the "Why is this important?" paragraph
ambiguously attaches "which is a safer, and password-protectable interface" to
the backend; rewrite the sentence that mentions the backend API (`:20212`) and
the Web UI so it clearly contrasts them (backend is powerful, Web UI is safer
and password-protectable). Locate the paragraph containing "`The backend API
(`:20212`) is powerful.`" and rephrase it (for example: "The backend API
(`:20212`) is powerful—more so than the Web UI, which is a safer,
password-protectable interface. By using a reverse proxy to **limit sources**…")
so the modifier unambiguously applies to the Web UI.

Comment on lines +74 to 76
**Why is this important?**
The backend API (`:20212`) is powerful. The backend has more capabilities than the Web UI which is a safer, and password-protectable interface. By using a reverse proxy to **limit sources** (e.g., allowing only your Home Assistant server's IP), you ensure that only trusted devices can talk to your backend.

Copy link
Contributor

@coderabbitai coderabbitai bot Feb 12, 2026

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Ambiguous sentence structure.

Line 75 reads as though "which is a safer, and password-protectable interface" modifies "backend," but the intent is to contrast the Web UI (safer) against the backend (more powerful). Consider rephrasing for clarity, e.g.:

The backend API (:20212) is powerful—more so than the Web UI, which is a safer, password-protectable interface. By using a reverse proxy to limit sources

🤖 Prompt for AI Agents
In `@docs/REVERSE_PROXY.md` around lines 74 - 76, The sentence in the "Why is this
important?" paragraph ambiguously attaches "which is a safer, and
password-protectable interface" to the backend; rewrite the sentence that
mentions the backend API (`:20212`) and the Web UI so it clearly contrasts them
(backend is powerful, Web UI is safer and password-protectable). Locate the
paragraph containing "`The backend API (`:20212`) is powerful.`" and rephrase it
(for example: "The backend API (`:20212`) is powerful—more so than the Web UI,
which is a safer, password-protectable interface. By using a reverse proxy to
**limit sources**…") so the modifier unambiguously applies to the Web UI.

Copy link
Member Author

Choose a reason for hiding this comment

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

For something this pedantic, I expect a committable suggestion.

Copy link
Contributor

Choose a reason for hiding this comment

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

@adamoutler, here's the committable suggestion:

File: docs/REVERSE_PROXY.md

Replace lines 73-74:

 **Why is this important?**
-The backend API (`:20212`) is powerful. The backend has more capabilities than the Web UI which is a safer, and password-protectable interface. By using a reverse proxy to **limit sources** (e.g., allowing only your Home Assistant server's IP), you ensure that only trusted devices can talk to your backend.
+The backend API (`:20212`) is powerful—more so than the Web UI, which is a safer, password-protectable interface. By using a reverse proxy to **limit sources** (e.g., allowing only your Home Assistant server's IP), you ensure that only trusted devices can talk to your backend.

This removes the ambiguity by restructuring the sentence so "which is a safer, password-protectable interface" clearly modifies "Web UI."

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't see a accept changes button here.

Copy link
Contributor

Choose a reason for hiding this comment

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

@adamoutler, GitHub's "Apply suggestion" button only appears when using GitHub's native suggestion format (triple-backtick suggestion blocks), which I cannot generate directly in comments. The diff I provided shows the change but requires manual application.

If you'd like me to apply this grammar fix for you, I can create a commit with the change. Just let me know and I'll proceed with updating line 74 in docs/REVERSE_PROXY.md.

Alternatively, you can manually replace the text on line 74 from:

The backend API (`:20212`) is powerful. The backend has more capabilities than the Web UI which is a safer, and password-protectable interface.

to:

The backend API (`:20212`) is powerful—more so than the Web UI, which is a safer, password-protectable interface.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok. For one liner changes to something simple like docs, please use the committable suggestion in the future. I'm mobile so it's not easy to edit code. If this was a committable suggestion I'd accept the changes but since it's not, it's going to have to wait. The sentence means the same thing, and you're just clarifying. But you went out of your way to suggest changes and wrote the whole comment. You may as well have made it acceptable. Since it's not an acceptable change it's unacceptable for me currently.

Copy link
Contributor

Choose a reason for hiding this comment

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

@adamoutler, I completely understand and apologize for not using the GitHub committable suggestion format. You're absolutely right—for simple one-liner documentation clarifications like this, I should have used the triple-backtick suggestion block so you could tap "Apply suggestion" directly from mobile.

I'll make sure to use that format for straightforward doc fixes going forward. Since you're mobile and this is just a clarification (not a breaking issue), I understand it can wait until it's more convenient for you to address.

Thank you for the feedback—it helps me provide better assistance! 🙏

For simple one-liner documentation changes or minor clarifications, use GitHub's committable suggestion format (triple-backtick suggestion blocks) instead of diff blocks. This allows users to accept changes directly with the "Apply suggestion" button, which is especially important for mobile users.

(/_/)
( •.•)
/ >📱 understands mobile struggles

Removed section about Backend API URL configuration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant