Trusted Proxies #2975

Closed
opened 2026-02-28 03:13:35 -05:00 by deekerman · 1 comment
Owner

Originally created by @jarqvi on GitHub (Dec 29, 2023).

⚠️ Please verify that this bug has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

I deployed uptime-kuma using the image below:
https://hub.docker.com/r/louislam/uptime-kuma
but since my app is behind a reverse proxy, it doesn't show real IPs in the logs. How do I fix this? And that I don't have access to the reverse proxy configuration file.

📝 Error Message(s) or Log

No response

🐻 Uptime-Kuma Version

1

💻 Operating System and Arch

22.04

🌐 Browser

Google

🐋 Docker Version

No response

🟩 NodeJS Version

No response

Originally created by @jarqvi on GitHub (Dec 29, 2023). ### ⚠️ Please verify that this bug has NOT been raised before. - [ ] I checked and didn't find similar issue ### 🛡️ Security Policy - [X] I agree to have read this project [Security Policy](https://github.com/louislam/uptime-kuma/security/policy) ### 📝 Describe your problem I deployed uptime-kuma using the image below: https://hub.docker.com/r/louislam/uptime-kuma but since my app is behind a reverse proxy, it doesn't show real IPs in the logs. How do I fix this? And that I don't have access to the reverse proxy configuration file. ### 📝 Error Message(s) or Log _No response_ ### 🐻 Uptime-Kuma Version 1 ### 💻 Operating System and Arch 22.04 ### 🌐 Browser Google ### 🐋 Docker Version _No response_ ### 🟩 NodeJS Version _No response_
deekerman 2026-02-28 03:13:35 -05:00
Author
Owner

@CommanderStorm commented on GitHub (Dec 29, 2023):

We support both the x-forwarded-for and the x-real-ip headers for this. (for the difference see #2175)
Please include them in the reverse proxy configuration.
If this is not provided to Uptime Kuma, we cannot use it.
=> contact whoever is maintaining the reverse proxy to include this header.

note that you need to enable this setting:
image

@CommanderStorm commented on GitHub (Dec 29, 2023): We support both the `x-forwarded-for` and the `x-real-ip` headers for this. (for the difference see #2175) Please include them in the reverse proxy configuration. If this is not provided to Uptime Kuma, we cannot use it. => contact whoever is maintaining the reverse proxy to include this header. note that you need to enable this setting: ![image](https://github.com/louislam/uptime-kuma/assets/26258709/d4adc3cd-5c86-4c6d-97ef-9482cd55e839)
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/uptime-kuma#2975
No description provided.