Commit 5c3ce467 authored by junmeng huang's avatar junmeng huang
Browse files

feat: 配置完成!

  总结

   已成功配置 https://portai.site/miniapp/slowvision/api/v1/ 映射到本地3001端口:

  1. Nginx 配置更新

  - 在 frp/servers/server1/nginx/nginx-https-only.conf 中添加了新的location块
  - 配置了 /miniapp/slowvision/api/v1/ 路径代理到本地3001端口
  - 更新了首页服务列表

  2. FRP 客户端配置更新

  - 在 frp/clients/mac2/frpc.ini 中添加了3001端口映射
  - 本地3001端口映射到服务器3001端口

  3. 服务重启

  - 重新部署了server1服务端配置
  - 重启了mac2客户端使配置生效

  4. 配置验证

  - 测试访问 https://portai.site/miniapp/slowvision/api/v1/ 成功建立连接
  - nginx反向代理工作正常

  现在你只需要在本地启动3001端口的服务,就可以通过 https://portai.site/miniapp/slowvision/api/v1/ 访问了。
parent 5c54dff7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment