diff --git a/deploy/nginx-locations.conf b/deploy/nginx-locations.conf index fd5d65b..9352bf2 100644 --- a/deploy/nginx-locations.conf +++ b/deploy/nginx-locations.conf @@ -12,6 +12,7 @@ location /api/ { proxy_pass https://manicandles-backend.midastix.com; proxy_ssl_server_name on; proxy_ssl_verify on; + proxy_ssl_verify_depth 3; proxy_ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt; proxy_set_header Host manicandles-backend.midastix.com; proxy_set_header Authorization $http_authorization; diff --git a/nginx.conf b/nginx.conf index be4c4d1..5fc0e58 100644 --- a/nginx.conf +++ b/nginx.conf @@ -12,6 +12,7 @@ server { proxy_pass https://manicandles-backend.midastix.com; proxy_ssl_server_name on; proxy_ssl_verify on; + proxy_ssl_verify_depth 3; proxy_ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt; proxy_set_header Host manicandles-backend.midastix.com; proxy_set_header Authorization $http_authorization;