Some fixes for Pixelfed on metal #27

Merged
Niols merged 3 commits from pixelfed-on-metal-2 into main 2024-10-29 17:09:20 +01:00
Showing only changes of commit 247a4258b2 - Show all commits

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 = ''