This commit is contained in:
2025-09-23 19:27:03 +03:00
parent 06211616e1
commit 292a371ee0
2 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -9,11 +9,11 @@
openFirewall = true;
settings = {
#MEMOS_MODE = "prod";
MEMOS_ADDR = "127.0.0.1";
MEMOS_ADDR = "0.0.0.0";
MEMOS_PORT = "5230";
#MEMOS_DATA = config.services.memos.dataDir;
MEMOS_DRIVER = "sqlite";
MEMOS_INSTANCE_URL = "http://localhost:5230";
MEMOS_INSTANCE_URL = "http://0.0.0.0:5230";
};
};
}
+14 -14
View File
@@ -55,20 +55,20 @@
}
];
};
"localhost:5230" = {
forceSSL = false;
enableACME = false;
listen = [
{
addr = "100.64.0.0";
port = 5230;
}
{
addr = "192.168.1.20";
port = 5230;
}
];
};
# "localhost:5230" = {
# forceSSL = false;
# enableACME = false;
# listen = [
# {
# addr = "100.64.0.0";
# port = 5230;
# }
# {
# addr = "192.168.1.20";
# port = 5230;
# }
# ];
# };
};
};
};