-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
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
发布问题 #252
Comments
已经放到服务器上的了,问题如上 |
@zongzi8899 你已经解决了吗?我不部署到了nginx服务器上,问题和你一模一样 |
nginx配置示例:
|
tomcat的也可以?
在2017年05月8日 19:09,zuiidea<notifications@github.com> 写道:
nginx配置示例:
server
{
listen 666;
server_name 47.92.30.98;
root /home/www/antd-admin/dist;
location /api {
proxy_pass http://localhost:8000/api;
}
location / {
index index.html;
try_files $uri $uri/ /index.html;
}
}
演示地址:http://47.92.30.98:666
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@zongzi8899 我没试过,道理都是一样,都是把所有除了资源文件的路由指向 |
好滴。THANKS
在2017年05月8日 19:17,zuiidea<notifications@github.com> 写道:
@zongzi8899 我没试过,道理都是一样,都是把所有除了资源文件的路由指向index.html
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@zongzi8899 你好 请问你是如何部署到tomcat 下的 |
@zongzi8899 我也是部署到tomcat上面 改成了hashHistory 跟你的效果一模一样 你解决了吗 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: