文章詳情頁
linux - 新手-----nginx怎么配置請求轉發?
瀏覽:138日期: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...這個是我寫的關于Nginx配置的筆記,希望對你有幫助
相關文章:
1. mysql優化 - 關于mysql分區2. php laravel框架模型作用域3. java - Atom中文問題4. java - MySQL中,使用聚合函數+for update會鎖表嗎?5. java - C語言算法題-韓信點兵 求解?6. 請教各位大佬,瀏覽器點 提交實例為什么沒有反應7. javascript - ionic2 input autofocus 電腦成功,iOS手機鍵盤不彈出8. css3 - 這個形狀使用CSS怎么寫出來?9. node.js - 在vuejs-templates/webpack中dev-server.js里為什么要exports readyPromise?10. javascript - 為什么這個點擊事件需要點擊兩次才有效果
排行榜