Skip to content

Forward the client IP to the API in WebGUI 7.3 - #2849

Draft
SimonFair wants to merge 1 commit into
7.3from
fix/webgui-oidc-client-ip-73
Draft

SimonFair wants to merge 1 commit into
7.3from
fix/webgui-oidc-client-ip-73

Conversation

@SimonFair

@SimonFair SimonFair commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

The WebGUI's nginx configuration proxies API requests over a Unix socket, so the API cannot get the client IP from the socket. Set X-Forwarded-For from nginx's client address in the generated /graphql location. The rule takes effect through WebGUI's normal nginx configuration lifecycle.

Shell syntax and generated location checks passed. Paired QAVM validation with API #2128 remains open.

Work Intent: OS-1100
API counterpart: unraid/api#2128

@coderabbitai

coderabbitai Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 852cadf5-201d-4eca-854f-a50c80d5a86c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@github-actions

Copy link
Copy Markdown

🔧 PR Test Plugin Available

A test plugin has been generated for this PR that includes the modified files.

Version: 2026.11.17.1452
Build: View Workflow Run

📥 Installation Instructions:

Install via Unraid Web UI:

  1. Go to Plugins → Install Plugin
  2. Copy and paste this URL:
https://preview.dl.unraid.net/pr-plugins/pr-2849/webgui-pr-2849.plg
  1. Click Install

Alternative: Direct Download

⚠️ Important Notes:

  • Testing only: This plugin is for testing PR changes
  • Backup included: Original files are automatically backed up
  • Easy removal: Files are restored when plugin is removed
  • Conflicts: Remove this plugin before installing production updates
  • Post-merge behavior: This preview stays available after merge until preview storage expires or it is manually cleaned up

📝 Modified Files:

Click to expand file list
etc/rc.d/rc.nginx

🔄 To Remove:

Navigate to Plugins → Installed Plugins and remove webgui-pr-2849, or run:

plugin remove webgui-pr-2849

🤖 This comment is automatically generated and will be updated with each new push to this PR.

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