nginx 请求转发
1、修改启动端口 因为80端口容易冲突
2、配置服务器地址 在http中添加下面的配置
http {
server {
listen 9001;
server_name localhost;
location ~ /acl/ {
proxy_pass http://localhost:8201;
}
location ~ /sys/ {
proxy_pass http://localhost:8202;
}
}
}
时间:2023-09-03 晚上