Nextcoud: new setup
This commit is contained in:
parent
36443cac83
commit
e9a411586b
20 changed files with 109 additions and 124 deletions
|
|
@ -1,4 +1,9 @@
|
|||
{ pkgs, ... }: {
|
||||
{ pkgs, ... }:
|
||||
# let
|
||||
# freya_hosts = lib.attrsets.filterAttrs (k: v: builtins.elem "freya.zto" v) config.networking.hosts;
|
||||
# freya_ipv4 = builtins.elemAt 0 (builtins.attrNames freya_hosts);
|
||||
# in
|
||||
{
|
||||
|
||||
boot = {
|
||||
growPartition = true;
|
||||
|
|
@ -74,6 +79,9 @@
|
|||
proxy_buffering off;
|
||||
'';
|
||||
};
|
||||
"my-nextcloud.bertof.net" = ssl // {
|
||||
locations."/" = { proxyPass = "http://freya.zto:80/"; proxyWebsockets = true; };
|
||||
};
|
||||
"radarr.bertof.net" = ssl // { locations."/" = { proxyPass = "http://freya.zto:7878/"; proxyWebsockets = true; }; };
|
||||
"sonarr.bertof.net" = ssl // { locations."/" = { proxyPass = "http://freya.zto:8989/"; proxyWebsockets = true; }; };
|
||||
"lidarr.bertof.net" = ssl // { locations."/" = { proxyPass = "http://freya.zto:8686/"; proxyWebsockets = true; }; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue