nginx反向代理工具的簡單使用

應用場景:前後端分離的開發模式,解決前端訪問後臺接口的跨域問題。 step1:      下載nginx 安裝包。安裝後,將.conf文件更改一下。 更改後的文件如下: worker_processes  1; #error_log  logs/error.log; #error_log  logs/error.log  notice; #error_log  logs/error.log  in
相關文章
相關標籤/搜索