From d847e09af630f538ed6fdfad42155c32fa6e9c6e Mon Sep 17 00:00:00 2001 From: joy Date: Tue, 19 Nov 2024 20:33:21 +0100 Subject: [PATCH] invidious with docker --- hosts/server/default.nix | 1 - modules/services/nginx/default.nix | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/hosts/server/default.nix b/hosts/server/default.nix index d41c8b6..728c6ee 100644 --- a/hosts/server/default.nix +++ b/hosts/server/default.nix @@ -14,6 +14,5 @@ ../../modules/services/forgejo ../../modules/services/syncthing ../../modules/services/immich - ../../modules/services/invidious ]; } diff --git a/modules/services/nginx/default.nix b/modules/services/nginx/default.nix index df50b1f..4275c59 100644 --- a/modules/services/nginx/default.nix +++ b/modules/services/nginx/default.nix @@ -39,11 +39,11 @@ enableACME = true; locations."/".proxyPass = "http://localhost:5000"; }; - # virtualHosts."yt.${domain}" = { - # forceSSL = true; - # enableACME = true; - # locations."/".proxyPass = "http://localhost:3000"; - # }; + virtualHosts."yt.${domain}" = { + forceSSL = true; + enableACME = true; + locations."/".proxyPass = "http://localhost:3000"; + }; }; security.acme.defaults.email = "${mail}"; security.acme.acceptTerms = true;