Revert "nixos/nginx: support h2c"
This commit is contained in:
parent
a9bbf7b44f
commit
f8de52a2fe
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
+ ";";
|
||||
|
|
Loading…
Reference in a new issue