Skip to content

Commit deb7fc5

Browse files
Enable HTTP/2 support in the router
1 parent af5c258 commit deb7fc5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nginx/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ http {
115115
# Default server handles requests for unmapped hostnames, including healthchecks
116116
server {
117117
listen 8080 default_server reuseport{{ if $routerConfig.UseProxyProtocol }} proxy_protocol{{ end }};
118-
listen 6443 default_server ssl{{ if $routerConfig.UseProxyProtocol }} proxy_protocol{{ end }};
118+
listen 6443 default_server ssl http2{{ if $routerConfig.UseProxyProtocol }} proxy_protocol{{ end }};
119119
set $app_name "router-default-vhost";
120120
{{ if $routerConfig.PlatformCertificate }}
121121
ssl_protocols {{ $sslConfig.Protocols }};

0 commit comments

Comments
 (0)