前端跨域調請求 nginx反向代理

用 本地pc的目錄,請求192.168.3.246的接口,以/api爲標識 運行命令: 啓動 nginx -s start 重啓 nginx -s relaod 停止 nginx -s stop 查看 nginx -t 使用:   1.在nginx安裝目錄下運行 ngins -t,查看狀態   2.啓動nginx,nginx -s start   3.在瀏覽器輸入http://127.0.0.1/
相關文章
相關標籤/搜索