refine auth

This commit is contained in:
AceDataCloud committed 2023-01-26 00:24:23 +08:00
1 parent 679faf9fc2
commit 6bd5bb0aa0
9 files changed
+20 -98

No files matched your search

+2 -6
View File
@@ -3,15 +3,11 @@ server {
server_name localhost;
proxy_http_version 1.1;
location /api/me {
location /api/v1/me {
proxy_pass http://auth-backend:8000;
}
location /api/token {
proxy_pass http://auth-backend:8000;
}
location /api/ {
location /api/v1/ {
proxy_pass http://data-backend:8000;
}