From 8558ff9ab3e8c2bd3deb9f8fa669d100063e1afb Mon Sep 17 00:00:00 2001 From: Ciapa Date: Fri, 5 Jan 2024 20:34:16 +0100 Subject: [PATCH] Remove lms --- hosts/kinda.sus.lol/services/lms.nix | 16 ---------------- hosts/kinda.sus.lol/services/nginx.nix | 15 --------------- 2 files changed, 31 deletions(-) delete mode 100644 hosts/kinda.sus.lol/services/lms.nix diff --git a/hosts/kinda.sus.lol/services/lms.nix b/hosts/kinda.sus.lol/services/lms.nix deleted file mode 100644 index 0dea469..0000000 --- a/hosts/kinda.sus.lol/services/lms.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ - virtualisation.oci-containers.containers = { - lms = { - image = "epoupon/lms"; - autoStart = true; - ports = [ - "127.0.0.1:5082:5082" - ]; - volumes = [ - "/var/lib/lms:/var/lms" - "/mnt/data/media/MusicNew:/music:ro" - "/etc/lms.conf:/etc/lms.conf" - ]; - }; - }; -} diff --git a/hosts/kinda.sus.lol/services/nginx.nix b/hosts/kinda.sus.lol/services/nginx.nix index d739ee9..ab8fe84 100644 --- a/hosts/kinda.sus.lol/services/nginx.nix +++ b/hosts/kinda.sus.lol/services/nginx.nix @@ -24,21 +24,6 @@ proxy_set_header Connection $http_connection; ''; }; - "/lms" = { - extraConfig = '' - proxy_pass http://127.0.0.1:5082; - proxy_read_timeout 900; - proxy_connect_timeout 900; - proxy_send_timeout 900; - send_timeout 900; - proxy_http_version 1.1; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-Proto https; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection $http_connection; - ''; - }; "/admin/sonarr" = { extraConfig = '' auth_basic "Show slit";