From 0370dd3c0c2feb32aa02cf6b9cd6d233f3dab74c Mon Sep 17 00:00:00 2001 From: teutat3s Date: Wed, 10 Apr 2024 19:05:15 +0200 Subject: [PATCH] fae: paperless.local -> paperless.fritz.box --- flake.nix | 2 +- hosts/fae/paperless.nix | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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} '';