xandikos: Add and enable

This commit is contained in:
Payas Relekar 2023-06-05 03:23:26 +05:30
parent 0ae5726697
commit a67c72579c

View file

@ -110,6 +110,15 @@
};
};
xandikos = {
enable = true;
address = "127.0.0.1";
port = "23232";
extraOptions = [
"--autocreate"
];
};
# TODO: Split to their respective locations
nginx = {
enable = true;
@ -149,6 +158,12 @@
enableACME = true;
locations."/".proxyPass = "http://127.0.0.1:5556";
};
"xandikos.bhankas.org" = {
addSSL = true;
enableACME = true;
locations."/".proxyPass = "http://127.0.0.1:23232";
};
};
};
};
@ -185,6 +200,11 @@
email = "relekarpayas@gmail.com";
dnsResolver = "1.1.1.1:53";
};
"xandikos.bhankas.org" = {
email = "relekarpayas@gmail.com";
dnsResolver = "1.1.1.1:53";
};
};
};
}