容器技术交流

 找回密码
 立即注册
查看: 1892|回复: 0

请问报502,加三行,是加这吗?

[复制链接]
发表于 2011-9-4 17:17:42 | 显示全部楼层 |阅读模式
[tr][/tr]
编辑网站,在nginx扩展的location段中,加入以下三行
  • proxy_connect_timeout 300;
  • proxy_send_timeout 300;
  • proxy_read_timeout 300;

复制代码






是指这吗?

        location / {


                 index  index.html index.htm index.shtml index.php;
                 autoindex        off;
                 proxy_connect_timeout 300;
                 proxy_send_timeout 300;
                 proxy_read_timeout 300;


        }





您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2025-5-15 12:09 , Processed in 0.026603 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表