fix syncthing service

This commit is contained in:
Joakim Repomaa
2025-02-07 18:56:40 +02:00
committed by Joakim Repomaa
parent 71e65bf687
commit 39134ba640

View File

@@ -13,7 +13,12 @@ in
guiAddress = "127.0.0.1:${toString port}"; guiAddress = "127.0.0.1:${toString port}";
}; };
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://localhost:${toString port}"; modules.webserver.vHosts.${fqdn}.locations."/" = {
proxy = "http://localhost:${toString port}";
extraConfig = ''
proxy_set_header Host $host;
'';
};
fileSystems."${storage_dir}" = { fileSystems."${storage_dir}" = {
device = "//u407959.your-storagebox.de/backup/syncthing"; device = "//u407959.your-storagebox.de/backup/syncthing";