proper ip assignation for nginx
This commit is contained in:
@@ -3,10 +3,10 @@ let
|
||||
inherit (inputs.self.lib)
|
||||
enableList
|
||||
mkEnabled
|
||||
mkEnabledProxy
|
||||
mkEnabledWithUsers
|
||||
;
|
||||
mkEnabledProxyIp = inputs.self.lib.mkEnabledProxyIp config.my.ips.wg-server;
|
||||
wgServerIp = config.my.ips.wg-server;
|
||||
mkEnabledProxyIp = inputs.self.lib.mkEnabledProxyIp wgServerIp;
|
||||
in
|
||||
{
|
||||
enableProxy = true;
|
||||
@@ -33,9 +33,11 @@ in
|
||||
};
|
||||
nextcloud = {
|
||||
enableProxy = true;
|
||||
ip = wgServerIp;
|
||||
port = 8081;
|
||||
};
|
||||
}
|
||||
// enableList mkEnabledProxy [
|
||||
// enableList mkEnabledProxyIp [
|
||||
"bazarr"
|
||||
"collabora"
|
||||
"gitea"
|
||||
@@ -53,8 +55,6 @@ in
|
||||
"radarr"
|
||||
"sonarr"
|
||||
"yamtrack"
|
||||
]
|
||||
// enableList mkEnabledProxyIp [
|
||||
"audiobookshelf"
|
||||
"isso"
|
||||
"keycloak"
|
||||
|
||||
Reference in New Issue
Block a user