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;