mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
Update docker_healthcheck.js
Correcting ini location for HTTPS health-check bypass.
This commit is contained in:
parent
05d2f4fe96
commit
b8c9943deb
@ -4,7 +4,7 @@ const fs = require("fs");
|
||||
const dataDir = require("./src/services/data_dir");
|
||||
const config = ini.parse(fs.readFileSync(dataDir.CONFIG_INI_PATH, 'utf-8'));
|
||||
|
||||
if (config.https) {
|
||||
if (config.Network.https) {
|
||||
// built-in TLS (terminated by trilium) is not supported yet, PRs are welcome
|
||||
// for reverse proxy terminated TLS this will works since config.https will be false
|
||||
process.exit(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user