diff --git a/ssadmin-web/nginx.conf b/ssadmin-web/nginx.conf index e157f52fae364464ed02297d4cae794e6eaa5a46..a4048d7fccc150f9d06e5a34fc7ed25aa61a0ce0 100644 --- a/ssadmin-web/nginx.conf +++ b/ssadmin-web/nginx.conf @@ -17,7 +17,7 @@ server { } location /api/ { ## 后端项目 - 管理后台 - proxy_pass http://ssadmin-server:28080/; ## 重要!!!proxy_pass 需要设置为后端项目所在服务器的 IP + proxy_pass http://101.133.153.122:28080/; ## 重要!!!proxy_pass 需要设置为后端项目所在服务器的 IP proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header REMOTE-HOST $remote_addr;