From 5c9fb14d41d8172b566d5310260bc7e94cee460d Mon Sep 17 00:00:00 2001 From: materus Date: Fri, 30 Aug 2024 16:57:34 +0200 Subject: [PATCH] waffentrager: commented out service --- .../host/waffentrager/services/jellyfin.nix | 51 ++++++++++--------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/configurations/host/waffentrager/services/jellyfin.nix b/configurations/host/waffentrager/services/jellyfin.nix index 23574a7..7b19c20 100644 --- a/configurations/host/waffentrager/services/jellyfin.nix +++ b/configurations/host/waffentrager/services/jellyfin.nix @@ -14,32 +14,37 @@ group = "nextcloud"; dataDir = config.waffentragerService.elements.jellyfinDir; }; + /* + services.jellyseerr = { + enable = true; + openFirewall = true; + };*/ services.nginx.virtualHosts = { - "noot.materus.pl" = { - sslTrustedCertificate = "/var/lib/mnt_acme/materus.pl/chain.pem"; - sslCertificateKey = "/var/lib/mnt_acme/materus.pl/key.pem"; - sslCertificate = "/var/lib/mnt_acme/materus.pl/fullchain.pem"; - addSSL = true; - http2 = false; - http3 = true; - locations."/" = { - proxyPass = "http://127.0.0.1:8096"; - extraConfig = '' - client_max_body_size 2G; - include ${config.services.nginx.package}/conf/fastcgi.conf; - include ${config.services.nginx.package}/conf/fastcgi_params; - proxy_http_version 1.1; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-Ssl on; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; + "noot.materus.pl" = { + sslTrustedCertificate = "/var/lib/mnt_acme/materus.pl/chain.pem"; + sslCertificateKey = "/var/lib/mnt_acme/materus.pl/key.pem"; + sslCertificate = "/var/lib/mnt_acme/materus.pl/fullchain.pem"; + addSSL = true; + http2 = false; + http3 = true; + locations."/" = { + proxyPass = "http://127.0.0.1:8096"; + extraConfig = '' + client_max_body_size 2G; + include ${config.services.nginx.package}/conf/fastcgi.conf; + include ${config.services.nginx.package}/conf/fastcgi_params; + proxy_http_version 1.1; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-Ssl on; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; - ''; - }; - - }; + ''; }; + + }; + }; }; }