文章詳情頁
linux - 新手-----nginx怎么配置請求轉(zhuǎn)發(fā)?
瀏覽:112日期:2024-07-03 16:29:52
問題描述
error.log
2017/04/30 10:06:56 [error] 7822#0: *1 open() '/data/www/articles' failed (2: No such file or directory), client: 183.236.0.94, server: 118.89.60.119, request: 'GET /articles HTTP/1.1', host: '118.89.60.119'
問題解答
回答1:location /api/ { proxy_pass http://ip:port}回答2:
/a/11...這個是我寫的關(guān)于Nginx配置的筆記,希望對你有幫助
相關(guān)文章:
1. javascript - 有適合開發(fā)手機端Html5網(wǎng)頁小游戲的前端框架嗎?2. python - pandas按照列A和列B分組,將列C求平均數(shù),怎樣才能生成一個列A,B,C的dataframe3. html - eclipse 標簽錯誤4. javascript - axios請求回來的數(shù)據(jù)組件無法進行綁定渲染5. python - Pycharm的Debug用不了6. 安全性測試 - nodejs中如何防m(xù)ySQL注入7. javascript - 關(guān)于apply()與call()的問題8. javascript - JS變量被清空9. python文檔怎么查看?10. python - pycharm 自動刪除行尾空格
排行榜

熱門標簽