From 53614134926320e554ce70d0ca5379038dca9d71 Mon Sep 17 00:00:00 2001 From: mihir Date: Fri, 20 Nov 2026 18:15:47 +0530 Subject: [PATCH] fix: verify the backend certificate chain to depth three --- deploy/nginx-locations.conf | 1 + nginx.conf | 1 + 2 files changed, 2 insertions(+) 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;