forked from Fediversity/simple-nixos-fediverse
remove http:// from nginx server name
This commit is contained in:
parent
2657e2130f
commit
ffb941687a
|
@ -173,7 +173,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.nginx.virtualHosts."garagePortProxy" = {
|
services.nginx.virtualHosts."garagePortProxy" = {
|
||||||
serverName = "${fedicfg.web.urlFor "*"}"; # wildcard bucket *.foo.com
|
serverName = "*.${fedicfg.web.rootDomain}";
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "localhost:3902";
|
proxyPass = "localhost:3902";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
Reference in a new issue