Merge pull request #270270 from SuperSandro2000/nginx-fastopen

nixos/nginx: filter more options when listening has quic

authored by Ryan Lahfa and committed by GitHub 6d8630ef 32874411

+2 -2
+2 -2
nixos/modules/services/web-servers/nginx/default.nix
··· 334 334 + optionalString vhost.default "default_server " 335 335 + optionalString vhost.reuseport "reuseport " 336 336 + optionalString (extraParameters != []) (concatStringsSep " " 337 - (let inCompatibleParameters = [ "ssl" "proxy_protocol" "http2" ]; 338 - isCompatibleParameter = param: !(any (p: p == param) inCompatibleParameters); 337 + (let inCompatibleParameters = [ "accept_filter" "backlog" "deferred" "fastopen" "http2" "proxy_protocol" "so_keepalive" "ssl" ]; 338 + isCompatibleParameter = param: !(any (p: lib.hasPrefix p param) inCompatibleParameters); 339 339 in filter isCompatibleParameter extraParameters)) 340 340 + ";")) 341 341 + "