add nginx path
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
{ config, pkgs, lib, inputs, ... }:
|
||||
with lib;
|
||||
let cfg = config.custom.services.caldav;
|
||||
in {
|
||||
options.custom.services.caldav = {
|
||||
enable = mkEnableOption "Enables caldav server";
|
||||
enable = lib.mkEnableOption "Enables caldav server";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
age.secrets.radicale-users = {
|
||||
|
||||
@@ -83,6 +83,9 @@ in {
|
||||
'';
|
||||
proxyPass = "http://127.0.0.1:8080";
|
||||
};
|
||||
"/radicale/" = {
|
||||
proxyPass = "http://localhost:5232/";
|
||||
};
|
||||
};
|
||||
};
|
||||
in {
|
||||
|
||||
Reference in New Issue
Block a user