会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
HumorChen99
我的CSDN博客地址:https://blog.csdn.net/HumorChen99
博客园
首页
新随笔
联系
订阅
管理
2023年2月17日
nginx api反代去掉/api前缀
摘要: 我们将前后端分离的前端部署用nginx实现, 在location /部署上前端的web, location /{ root /software_install/xxx/web; index index.html index.htm; } 使用^~开头,这样会去掉/api前缀。例如访问/api/use
阅读全文
posted @ 2023-02-17 16:04 HumorChen99
阅读(148)
评论(0)
推荐(0)
编辑
公告