From f45a36652885f2e7678ec124eee69d1f58afb664 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 8 Jan 2025 15:18:34 +0100 Subject: [PATCH] refactor(sgx): rename internal host to openwebui Updated ACME and nginx configurations to replace "internal.hoyer.world" with "openwebui.hoyer.world". This ensures correct routing and certificate management for the updated domain. --- systems/x86_64-linux/sgx/acme.nix | 2 +- systems/x86_64-linux/sgx/nginx.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/systems/x86_64-linux/sgx/acme.nix b/systems/x86_64-linux/sgx/acme.nix index 273d153..856aac6 100644 --- a/systems/x86_64-linux/sgx/acme.nix +++ b/systems/x86_64-linux/sgx/acme.nix @@ -17,7 +17,7 @@ credentialsFile = config.sops.secrets.internetbs.path; }; certs = { - "internal.hoyer.world" = { }; + "openwebui.hoyer.world" = { }; }; }; } diff --git a/systems/x86_64-linux/sgx/nginx.nix b/systems/x86_64-linux/sgx/nginx.nix index c79ace2..cf40c1b 100644 --- a/systems/x86_64-linux/sgx/nginx.nix +++ b/systems/x86_64-linux/sgx/nginx.nix @@ -21,9 +21,9 @@ recommendedProxySettings = true; recommendedTlsSettings = true; virtualHosts = { - "internal.hoyer.world" = { + "openwebui.hoyer.world" = { enableACME = false; - useACMEHost = "internal.hoyer.world"; + useACMEHost = "openwebui.hoyer.world"; forceSSL = true; locations."/" = { proxyPass = "http://127.0.0.1:${toString config.services.open-webui.port}";