From 1547246d8e33bc84db997bf73f0d52a7920bf65e Mon Sep 17 00:00:00 2001 From: ljlong_2630 Date: Wed, 23 Oct 2024 10:32:18 +0800 Subject: [PATCH] =?UTF-8?q?http=E6=94=B9=E6=88=90https?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 4 ++-- nginx_prod.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.production b/.env.production index c035b11..8b3546f 100644 --- a/.env.production +++ b/.env.production @@ -1,2 +1,2 @@ -VITE_BASE_URL=http://qcjeam.faway.com/api/admin-api -VITE_BASE_URL_IMAGE=http://qcjeam.faway.com/api/admin-api \ No newline at end of file +VITE_BASE_URL=https://qcjeam.faway.com/api/admin-api +VITE_BASE_URL_IMAGE=https://qcjeam.faway.com/api/admin-api \ No newline at end of file diff --git a/nginx_prod.conf b/nginx_prod.conf index 36a1aae..16e1908 100644 --- a/nginx_prod.conf +++ b/nginx_prod.conf @@ -34,7 +34,7 @@ http { server_name_in_redirect off; server_name _; location /api/ { - proxy_pass http://eam/; + proxy_pass https://eam/; proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header; proxy_set_header X-Forwared-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host;