Add proxy-ssl-name to location level
This commit is contained in:
parent
0ab2e72e95
commit
2de30bf451
1 changed files with 4 additions and 0 deletions
|
@ -1237,6 +1237,10 @@ stream {
|
||||||
proxy_ssl_verify_depth {{ $location.ProxySSL.VerifyDepth }};
|
proxy_ssl_verify_depth {{ $location.ProxySSL.VerifyDepth }};
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if not (empty $location.ProxySSL.ProxySSLName) }}
|
||||||
|
proxy_ssl_name {{ $location.ProxySSL.ProxySSLName }};
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ if not (empty $location.ProxySSL.PemFileName) }}
|
{{ if not (empty $location.ProxySSL.PemFileName) }}
|
||||||
proxy_ssl_certificate {{ $location.ProxySSL.PemFileName }};
|
proxy_ssl_certificate {{ $location.ProxySSL.PemFileName }};
|
||||||
proxy_ssl_certificate_key {{ $location.ProxySSL.PemFileName }};
|
proxy_ssl_certificate_key {{ $location.ProxySSL.PemFileName }};
|
||||||
|
|
Loading…
Reference in a new issue