文章详情页
linux - 新手-----nginx怎么配置请求转发?
浏览:288日期: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. java - 触发器使两张表同时更新2. 提示我模板文件不存在: tp5 application index view body.html3. PHP 后台无法获得变量4. javascript - 调微信分享朋友接口,出现下面问题,求解答,5. shell - mysql中update语句错误6. wordpress - Nginx中禁止访问txt,robots.txt文件例外,规则该怎么写?7. mysql - 数据库多表联合查询插入其他库8. Mac怎么安装呢?9. javascript - 微信网页开发从菜单进入页面后,按返回键没有关闭浏览器而是刷新当前页面,求解决?10. 使用mysql自增主键遇到的问题
排行榜

网公网安备