[PR #1475] [CLOSED] Update x-forwarded-proto header handling #1305

Closed
opened 2026-02-26 12:11:08 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/0xJacky/nginx-ui/pull/1475
Author: @0xJacky
Created: 12/9/2025
Status: Closed

Base: devHead: cursor/update-x-forwarded-proto-header-handling-1223


📝 Commits (1)

  • 5799751 feat: Add support for wildcard server names and proxy protocol

📊 Changes

3 files changed (+169 additions, -26 deletions)

View changed files

📝 internal/site/index.go (+107 -25)
internal/site/index_test.go (+54 -0)
📝 internal/sitecheck/checker.go (+8 -1)

📄 Description

Separate site scan's probe URL from display URL and enhance wildcard server_name parsing.

Ensures sites with wildcard server_names and proxy_protocol listeners display correctly and are clickable in the UI, avoiding internal port exposure.


Open in Cursor Open in Web


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/0xJacky/nginx-ui/pull/1475 **Author:** [@0xJacky](https://github.com/0xJacky) **Created:** 12/9/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `cursor/update-x-forwarded-proto-header-handling-1223` --- ### 📝 Commits (1) - [`5799751`](https://github.com/0xJacky/nginx-ui/commit/5799751c4e95a344dde6d25d120be593b6df55a8) feat: Add support for wildcard server names and proxy protocol ### 📊 Changes **3 files changed** (+169 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `internal/site/index.go` (+107 -25) ➕ `internal/site/index_test.go` (+54 -0) 📝 `internal/sitecheck/checker.go` (+8 -1) </details> ### 📄 Description Separate site scan's probe URL from display URL and enhance wildcard server_name parsing. Ensures sites with wildcard server_names and proxy_protocol listeners display correctly and are clickable in the UI, avoiding internal port exposure. --- <a href="https://cursor.com/background-agent?bcId=bc-faddf333-f3ed-469d-a4bc-6c2dd927e4eb"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-cursor-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-cursor-light.svg"><img alt="Open in Cursor" src="https://cursor.com/open-in-cursor.svg"></picture></a>&nbsp;<a href="https://cursor.com/agents?id=bc-faddf333-f3ed-469d-a4bc-6c2dd927e4eb"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-web-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-web-light.svg"><img alt="Open in Web" src="https://cursor.com/open-in-web.svg"></picture></a> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 12:11:08 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#1305
No description provided.