mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-07-24 22:53:39 -04:00
[PR #874] [MERGED] Use RealIP middleware
#884
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/qdm12/ddns-updater/pull/874
Author: @erri120
Created: 11/29/2024
Status: ✅ Merged
Merged: 12/3/2024
Merged by: @qdm12
Base:
master← Head:patch-1📝 Commits (1)
0a920e5UseRealIPmiddleware📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
internal/server/handler.go(+1 -0)📄 Description
Fixes logging issues when running behind a reverse proxy.
From the docs:
Without this middleware, running the server behind a reverse proxy will result in every log entry to show the IP address of the proxy instead of the real IP address of the connecting client.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.