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