ref: cleanup
This commit is contained in:
parent
155801244a
commit
ace24e8703
1 changed files with 2 additions and 1 deletions
|
|
@ -85,6 +85,7 @@ let
|
|||
return 404 "This domain is not configured. Available services: ${serviceNamesMessage}";
|
||||
'';
|
||||
};
|
||||
virtualHosts' = builtins.attrValues (rproxyServices // webHosts // {fallback = fallback;});
|
||||
in {
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
|
|
@ -94,7 +95,7 @@ in {
|
|||
recommendedOptimisation = true;
|
||||
recommendedGzipSettings = true;
|
||||
|
||||
virtualHosts = rproxyServices // webHosts // {fallback = fallback;};
|
||||
virtualHosts = virtualHosts';
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = network.usedPorts;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue