|
|
@ -49,6 +49,7 @@ class UptimeKumaServer {
|
|
|
|
|
|
|
|
|
|
|
|
log.info("server", "Creating express and socket.io instance");
|
|
|
|
log.info("server", "Creating express and socket.io instance");
|
|
|
|
this.app = express();
|
|
|
|
this.app = express();
|
|
|
|
|
|
|
|
this.app.enable("trust proxy");
|
|
|
|
|
|
|
|
|
|
|
|
if (sslKey && sslCert) {
|
|
|
|
if (sslKey && sslCert) {
|
|
|
|
log.info("server", "Server Type: HTTPS");
|
|
|
|
log.info("server", "Server Type: HTTPS");
|
|
|
|