From 3efdcc57b77e083c73fe21df7f6e5657fcad08f1 Mon Sep 17 00:00:00 2001 From: buffet Date: Wed, 8 May 2024 18:39:51 +0200 Subject: [PATCH] feat: add name.buffet.sh --- hosts/ami/acme.nix | 1 + hosts/ami/website.nix | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/hosts/ami/acme.nix b/hosts/ami/acme.nix index 713030f..8bb06e8 100644 --- a/hosts/ami/acme.nix +++ b/hosts/ami/acme.nix @@ -6,6 +6,7 @@ _: { extraDomainNames = [ "404.buffet.sh" "bitwarden.buffet.sh" + "name.buffet.sh" "rap.buffet.sh" "buffets.kitchen" ]; diff --git a/hosts/ami/website.nix b/hosts/ami/website.nix index ebc18a7..9309879 100644 --- a/hosts/ami/website.nix +++ b/hosts/ami/website.nix @@ -9,6 +9,12 @@ recommendedProxySettings = true; recommendedTlsSettings = true; + virtualHosts."name.buffet.sh" = { + useACMEHost = "buffet.sh"; + forceSSL = true; + locations."/".proxyPass = "http://localhost:18899"; + }; + virtualHosts."buffet.sh" = { enableACME = true; forceSSL = true;