No certificate for Garage web root domain

This commit is contained in:
Nicolas Jeannerod 2024-09-30 13:57:10 +02:00
parent be756ab8d3
commit 247a4258b2
Signed by untrusted user: Niols
GPG key ID: 35DB9EC8886E1CB8

View file

@ -159,10 +159,9 @@ in
};
};
services.nginx.virtualHosts.${fedicfg.web.rootDomain} = {
services.nginx.virtualHosts.${fedicfg.web.domainForBucket "pixelfed"} = {
forceSSL = true;
enableACME = true;
serverAliases = lib.mapAttrsToList (bucket: _: fedicfg.web.domainForBucket bucket) cfg.ensureBuckets; ## TODO: use wildcard certificates?
locations."/" = {
proxyPass = "http://localhost:3902";
extraConfig = ''