From 8d673aaa349173d5c1f0b1144f1d4b3f38d65fd1 Mon Sep 17 00:00:00 2001 From: AceDataCloud Date: Tue, 5 Apr 2022 20:29:18 +0800 Subject: [PATCH] update nginx --- nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nginx.conf b/nginx.conf index affce798..700d10a6 100644 --- a/nginx.conf +++ b/nginx.conf @@ -2,13 +2,13 @@ server { listen 80; server_name localhost; - location /api/me { - proxy_pass https://auth.test.zhishuyun.com/auth/login/api/me; + location /api/v1/me { + proxy_pass https://auth.test.zhishuyun.com/api/v1/me; proxy_http_version 1.1; } location /api/v1/token { - proxy_pass https://auth.test.zhishuyun.com/auth/login/api/v1/token; + proxy_pass https://auth.test.zhishuyun.com/api/v1/token; proxy_http_version 1.1; }