diff --git a/server/uptime-kuma-server.js b/server/uptime-kuma-server.js index 605ba5335..991c7ba26 100644 --- a/server/uptime-kuma-server.js +++ b/server/uptime-kuma-server.js @@ -49,6 +49,7 @@ class UptimeKumaServer { log.info("server", "Creating express and socket.io instance"); this.app = express(); + this.app.enable("trust proxy"); if (sslKey && sslCert) { log.info("server", "Server Type: HTTPS");