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

war 包打包后 出现404 #25

Open
srcker opened this issue May 9, 2019 · 0 comments
Open

war 包打包后 出现404 #25

srcker opened this issue May 9, 2019 · 0 comments

Comments

@srcker
Copy link

srcker commented May 9, 2019

打包成war包后 https://127.0.0.1:8080/blog

nginx 反向代理 css加载和生成链接都为404

location / {
            proxy_pass https://127.0.0.1:8080/blog/;
	    	proxy_set_header   Host    $host;
            proxy_set_header   Remote_Addr    $remote_addr;
            proxy_set_header   X-Real-IP    $remote_addr;
            proxy_set_header   X-Forwarded-For    $proxy_add_x_forwarded_for;
        }
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

1 participant