Update Reverse-Proxy.md

Frank Elsinga 2025-11-23 17:27:21 +13:00 committed by GitHub
parent f58b7c0ee9
commit ffb00ee27c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -11,7 +11,9 @@ Unlike other web apps, Uptime Kuma is based on WebSocket. You need two more head
> If using Apache or NGINX, it is recommended to use CertBot to manage SSL for free, it uses Lets Encrypt to get its certificates and keeps them renewed. You can also use your own certificates and place them as shown above. If using CertBot use the "Without SSL" settings and then run certbot on it and it will automatically configure auto-HTTPS redirection.
> [!TIP]
> If you are using a reverse proxy (such as Nginx, Apache, etc.), please access the Uptime Kuma backend → 「Settings」→「Reverse Proxy」→「HTTP Headers」, and set `Trust Proxy` to Yes. This allows the system to trust the `X-Forwarded-*` headers, thereby obtaining the correct client IP address.
> If behind an using a reverse proxy (such as Nginx, Apache, etc.) and Uptime kuma is only avaliable via this due to firewall rules (!) you may allow us to trust the headers of the reverse proxy.
> Access the `Settings` > `Reverse Proxy` > `HTTP Headers`, and set `Trust Proxy` to Yes.
> This allows the system to trust the `X-Forwarded-*` headers, thereby obtaining the correct client IP address in logs.
- <details><summary>Nginx</summary>