diff --git a/snippets/ldap-auth.conf b/snippets/ldap-auth.conf index 822c4407093249d3d77133c9e93b86374b2afae9..cba7d38c6c118a9647ede772d10adb234a0a4d9c 100644 --- a/snippets/ldap-auth.conf +++ b/snippets/ldap-auth.conf @@ -4,6 +4,7 @@ location = /validate { proxy_pass https://auth.shore.co.il/validate; proxy_http_version 1.1; include snippets/proxy-ssl.conf; + proxy_ssl_name auth.shore.co.il; internal; proxy_pass_request_body off; proxy_set_header Content-Length ""; diff --git a/snippets/proxy-ssl.conf b/snippets/proxy-ssl.conf index b83886af06e69be66442d924d1ca1c2f58c88125..547d081bdedf8525242d123d6eb4fb5715c68713 100644 --- a/snippets/proxy-ssl.conf +++ b/snippets/proxy-ssl.conf @@ -1,5 +1,4 @@ proxy_ssl_verify on; proxy_ssl_verify_depth 3; -proxy_ssl_name auth.shore.co.il; proxy_ssl_server_name on; proxy_ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt;