diff --git a/nginx.conf b/nginx.conf index bd3299d6..affce798 100644 --- a/nginx.conf +++ b/nginx.conf @@ -2,6 +2,16 @@ server { listen 80; server_name localhost; + location /api/me { + proxy_pass https://auth.test.zhishuyun.com/auth/login/api/me; + proxy_http_version 1.1; + } + + location /api/v1/token { + proxy_pass https://auth.test.zhishuyun.com/auth/login/api/v1/token; + proxy_http_version 1.1; + } + location /api/ { proxy_pass http://zhishuyun-academy-backend:8000/api/; proxy_http_version 1.1;