lol

nixos/nginx: Fix listen string generation

This regressed in 327b0cff7aedc20a148d245b1182f43800acc1f5 breaking nixosTests.php, among other things.

+2 -2
+2 -2
nixos/modules/services/web-servers/nginx/default.nix
··· 318 319 listenString = { addr, port, ssl, extraParameters ? [], ... }: 320 # UDP listener for QUIC transport protocol. 321 - (optionalString (ssl && vhost.quic) " 322 listen ${addr}:${toString port} quic " 323 + optionalString vhost.default "default_server " 324 + optionalString vhost.reuseport "reuseport " ··· 326 let inCompatibleParameters = [ "ssl" "proxy_protocol" "http2" ]; 327 isCompatibleParameter = param: !(any (p: p == param) inCompatibleParameters); 328 in filter isCompatibleParameter extraParameters)) 329 - + ";") 330 + " 331 332 listen ${addr}:${toString port} "
··· 318 319 listenString = { addr, port, ssl, extraParameters ? [], ... }: 320 # UDP listener for QUIC transport protocol. 321 + (optionalString (ssl && vhost.quic) (" 322 listen ${addr}:${toString port} quic " 323 + optionalString vhost.default "default_server " 324 + optionalString vhost.reuseport "reuseport " ··· 326 let inCompatibleParameters = [ "ssl" "proxy_protocol" "http2" ]; 327 isCompatibleParameter = param: !(any (p: p == param) inCompatibleParameters); 328 in filter isCompatibleParameter extraParameters)) 329 + + ";")) 330 + " 331 332 listen ${addr}:${toString port} "