Add dl.jakstys.lt

This commit is contained in:
Motiejus Jakštys 2023-08-29 15:41:57 +03:00
parent ff6b60822d
commit fe30f6c32a
2 changed files with 22 additions and 0 deletions

View File

@ -186,6 +186,13 @@
virtualHosts."www.jakstys.lt".extraConfig = ''
redir https://jakstys.lt
'';
virtualHosts."dl.jakstys.lt".extraConfig = ''
root * /var/www/dl
file_server browse {
hide .stfolder
}
encode gzip
'';
virtualHosts."jakstys.lt" = {
logFormat = ''
output file ${config.services.caddy.logDir}/access-jakstys.lt.log {

View File

@ -41,6 +41,21 @@ in {
// {};
folders = {
"/var/www/dl/tel" = {
devices = ["mxp10"];
id = "gqrtz-prx9h";
label = "www-tel";
};
"/var/www/dl/fwmine" = {
devices = ["fwmine"];
id = "7z9sw-2nubh";
label = "www-fwmine";
};
"/var/www/dl/mykolo" = {
devices = ["mxp10"];
id = "wslmq-fyw4w";
label = "mykolo";
};
"${config.services.syncthing.dataDir}/annex2/Books" = {
devices = ["mxp10" "fwmine"];
id = "8lk0n-mm63y";