docs: 📝 代理proxy_pass的目标API路径最后的斜杠/重要性声明

This commit is contained in:
hxr
2024-05-26 23:53:30 +08:00
parent c5f7e4b081
commit a507412429

View File

@@ -97,7 +97,8 @@ server {
}
# 反向代理配置
location /prod-api/ {
proxy_pass http://vapi.youlai.tech/; # vapi.youlai.tech替换成你的后端API地址
# vapi.youlai.tech 替换后端API地址,注意保留后面的斜杠 /
proxy_pass http://vapi.youlai.tech/;
}
}
```