Created
April 17, 2018 12:32
-
-
Save yusureabc/5c7e4c7c75315cee65331e79535cad74 to your computer and use it in GitHub Desktop.
nginx设置反向代理后,页面上的js css文件无法加载
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location ~ .*\.(js|css|png|jpg)$ { | |
proxy_pass http://47.93.35.223:8081; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment