fix syncthing proxy
fix syncthing proxy
This commit is contained in:
committed by
Joakim Repomaa
parent
2d6e8607f3
commit
953d2b5c5d
@@ -10,15 +10,11 @@ in
|
||||
enable = true;
|
||||
dataDir = "/mnt/storage/syncthing";
|
||||
openDefaultPorts = true;
|
||||
guiAddress = "127.0.0.1:${toString port}";
|
||||
guiAddress = "[::1]:${toString port}";
|
||||
settings.gui.insecureSkipHostCheck = true;
|
||||
};
|
||||
|
||||
modules.webserver.vHosts.${fqdn}.locations."/" = {
|
||||
proxy = "http://127.0.0.1:${toString port}";
|
||||
extraConfig = ''
|
||||
proxy_set_header Host $host;
|
||||
'';
|
||||
};
|
||||
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://localhost:${toString port}";
|
||||
|
||||
fileSystems."${storage_dir}" = {
|
||||
device = "//u407959.your-storagebox.de/backup/syncthing";
|
||||
|
||||
Reference in New Issue
Block a user