feat: add vikunja
This commit is contained in:
commit
e38ffbedf4
8 changed files with 145 additions and 89 deletions
32
config/endpoints/local.nix
Normal file
32
config/endpoints/local.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
let
|
||||
net = import ../network.nix;
|
||||
services = import ../services.nix;
|
||||
in
|
||||
[
|
||||
{
|
||||
type = "proxy";
|
||||
domain = "torrent.${net.local_domain}";
|
||||
endpoint = "/";
|
||||
force_ssl = false;
|
||||
port = 80;
|
||||
content = {
|
||||
type = "service";
|
||||
ip = net.devices.pi.ip;
|
||||
port = services.qbittorrent.port;
|
||||
proxyWebsockets = false;
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "proxy";
|
||||
domain = "wiki.${net.local_domain}";
|
||||
endpoint = "/";
|
||||
force_ssl = false;
|
||||
port = 80;
|
||||
content = {
|
||||
type = "service";
|
||||
ip = net.devices.pi.ip;
|
||||
port = services.kiwix.port;
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue