fix: docker镜像修复
This commit is contained in:
@@ -15,7 +15,7 @@ server {
|
||||
|
||||
# API请求代理到后端服务
|
||||
location /api/ {
|
||||
proxy_pass http://backend:8888/api/;
|
||||
proxy_pass ${BACKEND_URL}/api/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
@@ -25,35 +25,35 @@ server {
|
||||
}
|
||||
|
||||
location /login {
|
||||
proxy_pass http://backend:8888/login;
|
||||
proxy_pass ${BACKEND_URL}/login;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
}
|
||||
|
||||
location /check_auth {
|
||||
proxy_pass http://backend:8888/check_auth;
|
||||
proxy_pass ${BACKEND_URL}/check_auth;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
}
|
||||
|
||||
location /need_login {
|
||||
proxy_pass http://backend:8888/need_login;
|
||||
proxy_pass ${BACKEND_URL}/need_login;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
}
|
||||
|
||||
location /config {
|
||||
proxy_pass http://backend:8888/config;
|
||||
proxy_pass ${BACKEND_URL}/config;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
}
|
||||
|
||||
location /analyze {
|
||||
proxy_pass http://backend:8888/analyze;
|
||||
proxy_pass ${BACKEND_URL}/analyze;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
|
||||
Reference in New Issue
Block a user