We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19cd828 commit aa21ef3Copy full SHA for aa21ef3
internal/mode/static/nginx/config/servers_template.go
@@ -22,7 +22,6 @@ server {
22
listen {{ $s.Port }} ssl;
23
ssl_certificate {{ $s.SSL.Certificate }};
24
ssl_certificate_key {{ $s.SSL.CertificateKey }};
25
- proxy_ssl_server_name on;
26
27
if ($ssl_server_name != $host) {
28
return 421;
@@ -61,6 +60,7 @@ server {
61
60
{{ $proxyOrGRPC }}_pass {{ $l.ProxyPass }};
62
proxy_http_version 1.1;
63
{{- if $l.ProxySSLVerify }}
+ proxy_ssl_server_name on;
64
{{ $proxyOrGRPC }}_ssl_verify on;
65
{{ $proxyOrGRPC }}_ssl_name {{ $l.ProxySSLVerify.Name }};
66
{{ $proxyOrGRPC }}_ssl_trusted_certificate {{ $l.ProxySSLVerify.TrustedCertificate }};
0 commit comments