diff --git a/hosts/vno1-oh2/configuration.nix b/hosts/vno1-oh2/configuration.nix index faec1b7..21324d6 100644 --- a/hosts/vno1-oh2/configuration.nix +++ b/hosts/vno1-oh2/configuration.nix @@ -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 { diff --git a/modules/services/syncthing/default.nix b/modules/services/syncthing/default.nix index b203dd8..b0f13cd 100644 --- a/modules/services/syncthing/default.nix +++ b/modules/services/syncthing/default.nix @@ -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";