Add dl.jakstys.lt
This commit is contained in:
parent
ff6b60822d
commit
fe30f6c32a
@ -186,6 +186,13 @@
|
|||||||
virtualHosts."www.jakstys.lt".extraConfig = ''
|
virtualHosts."www.jakstys.lt".extraConfig = ''
|
||||||
redir https://jakstys.lt
|
redir https://jakstys.lt
|
||||||
'';
|
'';
|
||||||
|
virtualHosts."dl.jakstys.lt".extraConfig = ''
|
||||||
|
root * /var/www/dl
|
||||||
|
file_server browse {
|
||||||
|
hide .stfolder
|
||||||
|
}
|
||||||
|
encode gzip
|
||||||
|
'';
|
||||||
virtualHosts."jakstys.lt" = {
|
virtualHosts."jakstys.lt" = {
|
||||||
logFormat = ''
|
logFormat = ''
|
||||||
output file ${config.services.caddy.logDir}/access-jakstys.lt.log {
|
output file ${config.services.caddy.logDir}/access-jakstys.lt.log {
|
||||||
|
@ -41,6 +41,21 @@ in {
|
|||||||
// {};
|
// {};
|
||||||
|
|
||||||
folders = {
|
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" = {
|
"${config.services.syncthing.dataDir}/annex2/Books" = {
|
||||||
devices = ["mxp10" "fwmine"];
|
devices = ["mxp10" "fwmine"];
|
||||||
id = "8lk0n-mm63y";
|
id = "8lk0n-mm63y";
|
||||||
|
Loading…
Reference in New Issue
Block a user