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
通过nginx路径进行反代,结果html上面引用静态资源/static/css/是绝对路径,没有走到反代路径导致404
增加反代路径选项
No response
The text was updated successfully, but these errors were encountered:
nginx rewrite
Sorry, something went wrong.
转发静态文件试试 location ~ .*.(js|css|png)$ { proxy_pass http://127.0.0.1:8080; expires 30d; }
No branches or pull requests
🥰 需求描述
通过nginx路径进行反代,结果html上面引用静态资源/static/css/是绝对路径,没有走到反代路径导致404
🧐 解决方案
增加反代路径选项
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: