feat: reduce number of certificates issued, by making everything rely on the buffet.sh cert

This commit is contained in:
buffet 2024-04-20 18:41:52 +02:00
parent 2fc516c438
commit 58af3edd2e
4 changed files with 8 additions and 3 deletions

View file

@ -9,7 +9,7 @@
virtualHosts."404.buffet.sh" = { virtualHosts."404.buffet.sh" = {
default = true; default = true;
enableACME = true; useACMEHost = "buffet.sh";
forceSSL = true; forceSSL = true;
root = "${website}/404.html"; root = "${website}/404.html";
}; };

View file

@ -3,6 +3,11 @@ _: {
acceptTerms = true; acceptTerms = true;
defaults.email = "acme@buffet.sh"; defaults.email = "acme@buffet.sh";
certs."buffet.sh" = { certs."buffet.sh" = {
extraDomainNames = [
"404.buffet.sh"
"bitwarden.buffet.sh"
"buffets.kitchen"
];
}; };
}; };
} }

View file

@ -23,7 +23,7 @@ in {
recommendedTlsSettings = true; recommendedTlsSettings = true;
virtualHosts."bitwarden.buffet.sh" = { virtualHosts."bitwarden.buffet.sh" = {
enableACME = true; useACMEHost = "buffet.sh";
forceSSL = true; forceSSL = true;
locations."/" = { locations."/" = {

View file

@ -31,7 +31,7 @@ in {
recommendedTlsSettings = true; recommendedTlsSettings = true;
virtualHosts."buffets.kitchen" = { virtualHosts."buffets.kitchen" = {
enableACME = true; useACMEHost = "buffet.sh";
forceSSL = true; forceSSL = true;
locations."/" = { locations."/" = {