We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
获取本地内网 IP 方法
options + 点击 wifi 按钮
通过新增 debug 配置,控制项目运行开关
下方配置为测试环境所在 nginx 文件
# 内部的 IP 为前端 IP PORT location ~* /api/ { if ($http_referer ~ \/chenyangbj01\/$){ proxy_pass http://10.1.103.216:3000; } } location /chenyangbj01/ { proxy_pass http://10.1.103.216:3000/; }
https://xxx.com/chenyangbj01
The text was updated successfully, but these errors were encountered:
No branches or pull requests
前置工作
获取本地内网 IP 方法
options + 点击 wifi 按钮
前端调整点
1. 调整 webpack-dev-server 配置
初始化
通过新增 debug 配置,控制项目运行开关
新增或者修改服务端配置
2. 调整 Nginx 配置
下方配置为测试环境所在 nginx 文件
访问链接
https://xxx.com/chenyangbj01
The text was updated successfully, but these errors were encountered: