diff --git a/flake.nix b/flake.nix index 896edb35..b95693db 100644 --- a/flake.nix +++ b/flake.nix @@ -109,7 +109,7 @@ #}; fae = { - hostname = "192.168.178.31"; + hostname = "192.168.178.35"; sshUser = "pub-solar"; }; powder = { diff --git a/hosts/fae/paperless.nix b/hosts/fae/paperless.nix index bc7b04e7..aad4c5f4 100644 --- a/hosts/fae/paperless.nix +++ b/hosts/fae/paperless.nix @@ -79,8 +79,11 @@ in { #}; services.caddy = { enable = true; + globalConfig = '' + local_certs + ''; virtualHosts = { - "paperless.local" = { + "paperless.fritz.box" = { extraConfig = '' reverse_proxy :${builtins.toString config.services.paperless.port} '';