Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nginx/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ http {
# Default server handles requests for unmapped hostnames, including healthchecks
server {
listen 8080 default_server reuseport{{ if $routerConfig.UseProxyProtocol }} proxy_protocol{{ end }};
listen 6443 default_server ssl{{ if $routerConfig.UseProxyProtocol }} proxy_protocol{{ end }};
listen 6443 default_server ssl http2{{ if $routerConfig.UseProxyProtocol }} proxy_protocol{{ end }};
set $app_name "router-default-vhost";
{{ if $routerConfig.PlatformCertificate }}
ssl_protocols {{ $sslConfig.Protocols }};
Expand Down Expand Up @@ -166,7 +166,7 @@ http {
set $app_name "{{ $appConfig.Name }}";

{{ if index $appConfig.Certificates $domain }}
listen 6443 ssl{{ if $routerConfig.UseProxyProtocol }} proxy_protocol{{ end }};
listen 6443 ssl http2{{ if $routerConfig.UseProxyProtocol }} proxy_protocol{{ end }};
ssl_protocols {{ $sslConfig.Protocols }};
{{ if ne $sslConfig.Ciphers "" }}ssl_ciphers {{ $sslConfig.Ciphers }};{{ end }}
ssl_prefer_server_ciphers on;
Expand Down