Add Scorch to syncthing

Remove caddy proxy to syncthing interface
This commit is contained in:
Evie Litherland-Smith 2024-04-08 11:44:36 +01:00
parent d05ce43761
commit cbd7c41938

View file

@ -14,10 +14,11 @@ in {
"Legion".id = "3SSNCLP-ZZKNS65-7CKKGFY-KJYQU6S-P5BM7SB-MMW5ZLM-TMND6IV-ZMUO4AQ";
"Northstar".id = "DJVVFUX-QRJNEUZ-OVEQ63J-KJIGNY7-O4MEOMH-GDKYHOB-BQES3O4-C3BJHQ2";
"Vanguard".id = "NCJBYBK-JRVFAAN-XO4I5AS-B5L7QD2-5PAMWX7-PHD5FQH-Q2EI32H-U3GF5AA";
"Scorch".id = "VVKKUT6-DMNEJ6J-ZI2QREG-SOLG7S5-V2V6WN3-UCQH2EN-6S2XXLS-FKN6KQF";
};
folders = {
"Music" = {
inherit devices;
devices = devices ++ ["Scorch"];
id = "munzw-vnxhl";
path = "~/Music";
ignorePerms = true;
@ -37,10 +38,4 @@ in {
};
};
};
services.caddy.virtualHosts."sync.xenia.me.uk".extraConfig = ''
basicauth {
evie $2a$14$AwYqa81IWL8lU7B5SrQhlOILZj4VqCgcIn9cte8nytQIP/WhfJoSG
}
reverse_proxy http://localhost:8384
'';
}