发布于 21 天前
发布于 21 天前
Surou
更新于 16 天前
0
0
例如
server {
listen 80;
server_name testnet.baidu.com;
location /agent-api/ {
proxy_pass http://1.2.3.4:6666/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
...
}
}
用于根据 请求的 URL 路径 匹配规则,并定义该路径下的反向代理、静态文件服务、重定向等行为。
这个对于我们后端业务很常用,希望能优先考虑支持下~
雷池 - 小小
更新于 16 天前
0
0
点赞多的话可以考虑