Server level proxy_ssl parameters are applied again, following the comments received.
Also writing tls.crt and tls.key to disk is according to the original code.
This commit is contained in:
parent
37fe9c9876
commit
cc84bd4ab6
3 changed files with 21 additions and 11 deletions
|
|
@ -825,8 +825,8 @@ stream {
|
|||
{{ end }}
|
||||
|
||||
{{ if not (empty $server.ProxySSL.PemFileName) }}
|
||||
proxy_ssl_certificate {{ $server.ProxySSL.CAFileName }};
|
||||
proxy_ssl_certificate_key {{ $server.ProxySSL.CAFileName }};
|
||||
proxy_ssl_certificate {{ $server.ProxySSL.PemFileName }};
|
||||
proxy_ssl_certificate_key {{ $server.ProxySSL.PemFileName }};
|
||||
{{ end }}
|
||||
|
||||
{{ if not (empty $server.SSLCiphers) }}
|
||||
|
|
@ -1299,8 +1299,8 @@ stream {
|
|||
{{ end }}
|
||||
|
||||
{{ if not (empty $location.ProxySSL.PemFileName) }}
|
||||
proxy_ssl_certificate {{ $location.ProxySSL.CAFileName }};
|
||||
proxy_ssl_certificate_key {{ $location.ProxySSL.CAFileName }};
|
||||
proxy_ssl_certificate {{ $location.ProxySSL.PemFileName }};
|
||||
proxy_ssl_certificate_key {{ $location.ProxySSL.PemFileName }};
|
||||
{{ end }}
|
||||
}
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue