Compare commits

...

2 commits

Author SHA1 Message Date
Evie Litherland-Smith ca4f2d055a Add redirect for www subdomain to main page 2024-04-08 11:46:33 +01:00
Evie Litherland-Smith cbd7c41938 Add Scorch to syncthing
Remove caddy proxy to syncthing interface
2024-04-08 11:44:36 +01:00
2 changed files with 5 additions and 7 deletions

View file

@ -4,6 +4,9 @@
enable = true;
email = "evie@xenia.me.uk";
virtualHosts = {
"www.xenia.me.uk".extraConfig = ''
redir https://xenia.me.uk
'';
"xenia.me.uk".extraConfig = ''
file_server * {
root /var/www/landing/

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
'';
}