Nginx 加上路径的反向代理毛毛虫2024年5月9日HTML, nginx, 信息技术 情况: 用户请求 example.com 为站点的静态页面 用户请求 example.com/api 为后端接口,后端需要收到包含 /api 路径请求 后端暴露在本地8360端口中 nginx配置文件添加如下 location ~/api/ { proxy_pass http://127.0.0.1:8360; } 文章不错?点个赞呗 点赞 喜欢 0 标签# nginx# 反向代理 分享 Share on Facebook Share on X (Twitter) Share on Pinterest Share on LinkedIn Share on Line Share on WhatsApp Share on Reddit Share on Bluesky Share on Threads Share on Telegram Copy to Clipboard 毛毛虫 我想回到从前,但现实没有给我机会 文章: 7159 上一页 文章 ffmpeg 常用命令 下一页 文章 Debian系统中将动态ip改为静态ip