modules/nginx-port-forward: Automatically reresolve hostnames
This commit is contained in:
@@ -24,6 +24,8 @@ let
|
||||
|
||||
portForwardConf = ''
|
||||
stream {
|
||||
resolver 127.0.0.53;
|
||||
|
||||
${ concatStringsSep "\n" (mapAttrsToList (mkServerBlock false) cfg.tcpPorts) }
|
||||
${ concatStringsSep "\n" (mapAttrsToList (mkServerBlock true) cfg.udpPorts) }
|
||||
}
|
||||
|
Reference in New Issue
Block a user