Skip to content
Snippets Groups Projects
Commit 5bfb83d0 authored by nimrod's avatar nimrod
Browse files

Move mispalced proxy_ssl_name statement.

It has a hard-coded server name, it should be in the that server's
config.
parent 49a82ef3
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ location = /validate { ...@@ -4,6 +4,7 @@ location = /validate {
proxy_pass https://auth.shore.co.il/validate; proxy_pass https://auth.shore.co.il/validate;
proxy_http_version 1.1; proxy_http_version 1.1;
include snippets/proxy-ssl.conf; include snippets/proxy-ssl.conf;
proxy_ssl_name auth.shore.co.il;
internal; internal;
proxy_pass_request_body off; proxy_pass_request_body off;
proxy_set_header Content-Length ""; proxy_set_header Content-Length "";
......
proxy_ssl_verify on; proxy_ssl_verify on;
proxy_ssl_verify_depth 3; proxy_ssl_verify_depth 3;
proxy_ssl_name auth.shore.co.il;
proxy_ssl_server_name on; proxy_ssl_server_name on;
proxy_ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt; proxy_ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment