Skip to content

Commit f8de52a

Browse files
authoredMar 15, 2019
Revert "nixos/nginx: support h2c"
1 parent a9bbf7b commit f8de52a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nixos/modules/services/web-servers/nginx/default.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ let
197197
listenString = { addr, port, ssl, extraParameters ? [], ... }:
198198
"listen ${addr}:${toString port} "
199199
+ optionalString ssl "ssl "
200-
+ optionalString vhost.http2 "http2 "
200+
+ optionalString (ssl && vhost.http2) "http2 "
201201
+ optionalString vhost.default "default_server "
202202
+ optionalString (extraParameters != []) (concatStringsSep " " extraParameters)
203203
+ ";";

0 commit comments

Comments
 (0)
Please sign in to comment.