Skip to content
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

将dist打包好的文件放到nginx下面的html里面,nginx.conf配置成后台的地址怎么就报404呢,config.js需要换成后台提供的地址吗 #278

Closed
yanghong1105 opened this issue May 11, 2017 · 2 comments

Comments

@yanghong1105
Copy link

listen 80;
server_name localhost;

    #charset koi8-r;

    #access_log  logs/host.access.log  main;

    location / {
        root   html;
        index  index.html index.htm;
    }
	
	location ~ /(o|a)/ {
		proxy_pass http://192.168.0.201:9009;
		proxy_set_header Host $host;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
	}
@zuiidea
Copy link
Owner

zuiidea commented May 11, 2017

#269

@zuiidea zuiidea closed this as completed May 11, 2017
@weizeng
Copy link

weizeng commented Oct 16, 2017

#630 怎么不行呢?@zuiidea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants