This commit is contained in:
Sense T 2023-07-19 07:08:34 +00:00
parent 3602e82da0
commit be6c5774b4

View File

@ -46,6 +46,12 @@ in
directoryRoot = downloadDir; directoryRoot = downloadDir;
}; };
kubo = {
enable = true;
dataDir = "/mnt/ipfs";
enableGC = true;
};
nginx = { nginx = {
enable = true; enable = true;
virtualHosts = { virtualHosts = {
@ -65,9 +71,23 @@ in
proxyPass = "http://localhost:9091"; proxyPass = "http://localhost:9091";
}; };
# resilio
"/sync" = { "/sync" = {
proxyPass = "http://localhost:9000"; proxyPass = "http://localhost:9000";
}; };
# kubo/ipfs
"/ipfs" = {
proxyPass = "http://localhost:8080";
};
"/ipns" = {
proxyPass = "http://localhost:8080";
};
"/ipfs-ui" = {
proxyPass = "http://localhost:5001/webui/";
};
}; };
}; };
}; };