Commit Graph

66 Commits (4bbd9430f3b82bea346184989e140206ff586d7b)

Author SHA1 Message Date
Louis Lam a36f24d827 Add configurable server timezone
2 years ago
Louis Lam b007681e67 Merge remote-tracking branch 'origin/master' into karelkryda_master
2 years ago
Ben Scobie c28d8ddff9
Correctly handle multiple IPs in X-Forwarded-For (#2177)
2 years ago
Louis Lam 7017c2e625 Move maintenance code to `maintenance-socket-handler.js`
2 years ago
Louis Lam fb3fe17c28 Fix getClientIP
2 years ago
Louis Lam 2389b604fe Use Settings.get
2 years ago
Louis Lam a3b1612938 getClientIP respect trustProxy setting
2 years ago
Louis Lam bea8679788
Merge branch 'master' into issue-1861
2 years ago
Louis Lam 2073f0c284 Bind cacheable-lookup to custom http agent
2 years ago
Chongyi Zheng 3fa5dfc873
Use x-forwarded-host only when trustProxy is true
3 years ago
Chongyi Zheng f33b6de157 Support X-Forwarded-Host header
3 years ago
Louis Lam e5e8db6c38 Add cacheable-lookup
3 years ago
Louis Lam c095767f4a [Status Page] SSR
3 years ago
Louis Lam 429ad384d0 Fix hardcoded path for error.log and move errorLog() to UptimeKumaServer.errorLog()
3 years ago
Louis Lam 200fdfb808 Merge code manually since some code moved to another file
3 years ago
Louis Lam 919393cac9 Partially change the server core into a class, remove all require("./server") #1520
3 years ago