Skip to content
Permalink
Browse files

Revert "nixos/nginx: support h2c"

  • Loading branch information...
Infinisil committed Mar 15, 2019
1 parent a9bbf7b commit f8de52a2fead1a77eb8597881e82ac57b56bea2b
Showing with 1 addition and 1 deletion.
  1. +1 −1 nixos/modules/services/web-servers/nginx/default.nix
@@ -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)
+ ";";

0 comments on commit f8de52a

Please sign in to comment.
You can’t perform that action at this time.