From 068acb430397f8ef8a302459a35a4fb211117cdb Mon Sep 17 00:00:00 2001 From: BackRunner Date: Sun, 15 Dec 2024 22:00:09 +0800 Subject: [PATCH] :bug: Fix assets proxy ssl handshake error --- docker/devenv/files/nginx.conf | 1 + docker/images/files/nginx.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/docker/devenv/files/nginx.conf b/docker/devenv/files/nginx.conf index 961b3a4fb..1777f8a88 100644 --- a/docker/devenv/files/nginx.conf +++ b/docker/devenv/files/nginx.conf @@ -90,6 +90,7 @@ http { proxy_hide_header x-amz-meta-server-side-encryption; proxy_hide_header x-amz-server-side-encryption; proxy_pass $redirect_uri; + proxy_ssl_server_name on; add_header x-internal-redirect "$redirect_uri"; add_header x-cache-control "$redirect_cache_control"; diff --git a/docker/images/files/nginx.conf b/docker/images/files/nginx.conf index ee2f64175..e03f7ef0b 100644 --- a/docker/images/files/nginx.conf +++ b/docker/images/files/nginx.conf @@ -92,6 +92,7 @@ http { proxy_hide_header x-amz-request-id; proxy_hide_header x-amz-meta-server-side-encryption; proxy_hide_header x-amz-server-side-encryption; + proxy_ssl_server_name on; proxy_pass $redirect_uri; add_header x-internal-redirect "$redirect_uri";