Support X-Forwarded-Host header

This commit is contained in:
Chongyi Zheng 2022-06-30 20:49:48 -04:00
parent e0a2ed2523
commit f33b6de157

View File

@ -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");