-
Notifications
You must be signed in to change notification settings - Fork 75
Remove built-in NGINX (workaround for live logs issues) #913
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
Conversation
WalkthroughRemoves the built-in Nginx proxy feature and its configuration option Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User
participant Addon as Cloudflared Addon
participant HA as Home Assistant
note over Addon: New flow (built-in proxy removed)
User->>Addon: Request to external_hostname
Addon->>HA: Forward to ha_service_protocol://homeassistant:<port>
HA-->>Addon: Response
Addon-->>User: Response
sequenceDiagram
autonumber
actor User
participant Addon as Cloudflared Addon
participant Nginx as (Removed) Built-in Nginx
participant HA as Home Assistant
rect rgba(255,235,230,0.6)
note over Nginx: Old flow (now removed)
User->>Addon: Request to external_hostname
Addon->>Nginx: Proxy to localhost:8321
Nginx->>HA: Proxy to HA (ssl conditional)
HA-->>Nginx: Response
Nginx-->>Addon: Response
Addon-->>User: Response
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🔇 Additional comments (2)
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. 🧪 Early access (Sonnet 4.5): enabledWe are currently testing the Sonnet 4.5 model, which is expected to improve code review quality. However, this model may lead to increased noise levels in the review comments. Please disable the early access features if the noise level causes any inconvenience. Note:
Comment |
|
PS: I didn't test this, but code changes seem in order. |
|
@brenner-tobias I am not sure what is the future of #843 (comment) yet, but it looks like we can drop NGINX for now. I'll rebase/rethink #843 later. |
|
@elcajon this will be a breaking change once pushed for users that were previously using localhost:8321, however I think it is ok. The adjustment is simple after all, just change back to homeassistant:8123. Besides, it was an undocumented workaround. |
|
I think so too, a remark in the release notes should be enough. I added the next major version to the list of breaking changes to prevent add-on auto update. |
brenner-tobias
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks a lot!
|
@brenner-tobias @elcajon I think this can be released to stable. |
Proposed Changes
This removes the built-in NGINX proxy that was added as a workaround for live logs issues as apparently it is no longer needed.
Related Issues
Summary by CodeRabbit
Chores
Documentation