From 1dd9c9b61ed6cdfb20ad119f28f7e7c77b2717a3 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 19 Apr 2024 16:10:11 +0200 Subject: [PATCH] acme --- audiobooks.nix | 2 ++ filebrowser.nix | 2 ++ homepage.nix | 2 ++ jellyfin.nix | 2 ++ 4 files changed, 8 insertions(+) diff --git a/audiobooks.nix b/audiobooks.nix index 7c6574d..52be9c2 100644 --- a/audiobooks.nix +++ b/audiobooks.nix @@ -12,6 +12,8 @@ in services.nginx.virtualHosts.${domain} = { + forceSSL = true; + enableACME = true; default = true; locations."/" = { proxyPass = "http://localhost:8000/"; diff --git a/filebrowser.nix b/filebrowser.nix index 2381a7f..293f0be 100644 --- a/filebrowser.nix +++ b/filebrowser.nix @@ -34,6 +34,8 @@ in services.nginx.virtualHosts.${domain} = { + forceSSL = true; + enableACME = true; locations."/" = { proxyPass = "http://localhost:8080/"; proxyWebsockets = true; diff --git a/homepage.nix b/homepage.nix index 190b34a..36c5070 100644 --- a/homepage.nix +++ b/homepage.nix @@ -20,6 +20,8 @@ in }; services.nginx.virtualHosts.${domain} = { + forceSSL = true; + enableACME = true; locations."/" = { proxyPass = "http://localhost:${port}/"; proxyWebsockets = true; diff --git a/jellyfin.nix b/jellyfin.nix index a214af7..9d80b2b 100644 --- a/jellyfin.nix +++ b/jellyfin.nix @@ -12,6 +12,8 @@ in services.nginx.virtualHosts.${domain} = { + forceSSL = true; + enableACME = true; locations."/" = { proxyPass = "http://localhost:8096/"; proxyWebsockets = true;