nginx 使用nginx反向代理圖片,js,css文件加載不出來

在nginx.conf文件中添加:  css location ~ .*\.(js|css|jpg|png)$ { proxy_pass http://127.0.0.1:8089; } 注:8089是項目的端口號.nginx
相關文章
相關標籤/搜索