Compare commits
2 commits
d05ce43761
...
ca4f2d055a
Author | SHA1 | Date | |
---|---|---|---|
Evie Litherland-Smith | ca4f2d055a | ||
Evie Litherland-Smith | cbd7c41938 |
|
@ -4,6 +4,9 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
email = "evie@xenia.me.uk";
|
email = "evie@xenia.me.uk";
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
|
"www.xenia.me.uk".extraConfig = ''
|
||||||
|
redir https://xenia.me.uk
|
||||||
|
'';
|
||||||
"xenia.me.uk".extraConfig = ''
|
"xenia.me.uk".extraConfig = ''
|
||||||
file_server * {
|
file_server * {
|
||||||
root /var/www/landing/
|
root /var/www/landing/
|
||||||
|
|
|
@ -14,10 +14,11 @@ in {
|
||||||
"Legion".id = "3SSNCLP-ZZKNS65-7CKKGFY-KJYQU6S-P5BM7SB-MMW5ZLM-TMND6IV-ZMUO4AQ";
|
"Legion".id = "3SSNCLP-ZZKNS65-7CKKGFY-KJYQU6S-P5BM7SB-MMW5ZLM-TMND6IV-ZMUO4AQ";
|
||||||
"Northstar".id = "DJVVFUX-QRJNEUZ-OVEQ63J-KJIGNY7-O4MEOMH-GDKYHOB-BQES3O4-C3BJHQ2";
|
"Northstar".id = "DJVVFUX-QRJNEUZ-OVEQ63J-KJIGNY7-O4MEOMH-GDKYHOB-BQES3O4-C3BJHQ2";
|
||||||
"Vanguard".id = "NCJBYBK-JRVFAAN-XO4I5AS-B5L7QD2-5PAMWX7-PHD5FQH-Q2EI32H-U3GF5AA";
|
"Vanguard".id = "NCJBYBK-JRVFAAN-XO4I5AS-B5L7QD2-5PAMWX7-PHD5FQH-Q2EI32H-U3GF5AA";
|
||||||
|
"Scorch".id = "VVKKUT6-DMNEJ6J-ZI2QREG-SOLG7S5-V2V6WN3-UCQH2EN-6S2XXLS-FKN6KQF";
|
||||||
};
|
};
|
||||||
folders = {
|
folders = {
|
||||||
"Music" = {
|
"Music" = {
|
||||||
inherit devices;
|
devices = devices ++ ["Scorch"];
|
||||||
id = "munzw-vnxhl";
|
id = "munzw-vnxhl";
|
||||||
path = "~/Music";
|
path = "~/Music";
|
||||||
ignorePerms = true;
|
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
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue