Compare commits
2 commits
d05ce43761
...
ca4f2d055a
Author | SHA1 | Date | |
---|---|---|---|
Evie Litherland-Smith | ca4f2d055a | ||
Evie Litherland-Smith | cbd7c41938 |
|
@ -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/
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue