[PR #3929] Switch from X-Real-IP to X-Forwarded-For in nginx.conf #3780

Open
opened 2026-02-26 08:31:55 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/NginxProxyManager/nginx-proxy-manager/pull/3929
Author: @woliver99
Created: 8/13/2024
Status: 🔄 Open

Base: developHead: develop


📝 Commits (1)

  • 0480b88 Switch from X-Real-IP to X-Forwarded-For in nginx.conf

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 docker/rootfs/etc/nginx/nginx.conf (+1 -1)

📄 Description

X-Forwarded-For is more commonly used across various proxies and load balancers, including Cloudflare, which does not use X-Real-IP.

This should fix #3582 #3267 #1358 #1230


🔄 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/NginxProxyManager/nginx-proxy-manager/pull/3929 **Author:** [@woliver99](https://github.com/woliver99) **Created:** 8/13/2024 **Status:** 🔄 Open **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (1) - [`0480b88`](https://github.com/NginxProxyManager/nginx-proxy-manager/commit/0480b88e5776f3e435e53084899071469e0ce413) Switch from X-Real-IP to X-Forwarded-For in nginx.conf ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docker/rootfs/etc/nginx/nginx.conf` (+1 -1) </details> ### 📄 Description X-Forwarded-For is more commonly used across various proxies and load balancers, including Cloudflare, which does not use X-Real-IP. This should fix #3582 #3267 #1358 #1230 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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-proxy-manager-NginxProxyManager#3780
No description provided.