forked from Fediversity/Fediversity
No certificate for Garage web root domain
This commit is contained in:
parent
5179283b83
commit
aed4b3a744
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue