From 2c606b8830bf2ceabf05398cb004ad2938e23d52 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Fri, 14 Apr 2023 17:45:02 +0200 Subject: [PATCH] mediaserver: expose prowlarr --- system/nixos/prowlarr.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/system/nixos/prowlarr.nix b/system/nixos/prowlarr.nix index 7b3e6b9..eb35252 100644 --- a/system/nixos/prowlarr.nix +++ b/system/nixos/prowlarr.nix @@ -29,4 +29,17 @@ Restart = "on-failure"; }; }; + + services.nginx.virtualHosts."prowlarr.internal.kempkens.network" = { + quic = true; + http3 = true; + + onlySSL = true; + useACMEHost = "internal.kempkens.network"; + + locations."/" = { + recommendedProxySettings = true; + proxyPass = "http://unix:/tmp/prowlarr.sock"; + }; + }; }