Merge pull request #57694 from NixOS/revert-55192-master

Revert "nixos/nginx: support h2c"
This commit is contained in:
Silvan Mosberger 2019-03-15 16:39:22 +01:00 committed by GitHub
commit 36d6bbaa70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,7 +197,7 @@ let
listenString = { addr, port, ssl, extraParameters ? [], ... }:
"listen ${addr}:${toString port} "
+ optionalString ssl "ssl "
+ optionalString vhost.http2 "http2 "
+ optionalString (ssl && vhost.http2) "http2 "
+ optionalString vhost.default "default_server "
+ optionalString (extraParameters != []) (concatStringsSep " " extraParameters)
+ ";";