mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Support X-Forwarded-Host header
This commit is contained in:
parent
e0a2ed2523
commit
f33b6de157
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue