nginx proxy module
This commit is contained in:
@@ -18,12 +18,9 @@ in
|
||||
"piracy"
|
||||
];
|
||||
};
|
||||
services = {
|
||||
kavita = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
tokenKeyFile = config.sops.secrets.kavita-token.path;
|
||||
};
|
||||
nginx.virtualHosts."${cfg.host}" = lib.mkIf cfg.enableProxy (setup.proxyReverse cfg);
|
||||
services.kavita = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
tokenKeyFile = config.sops.secrets.kavita-token.path;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user