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;