laravel 5.3 搭配 nginx 服务器报 500 错误 日志显示超时 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
JsonLuo
V2EX    NGINX

laravel 5.3 搭配 nginx 服务器报 500 错误 日志显示超时

  •  
  •   JsonLuo 2017-02-22 09:36:58 +08:00 3224 次点击
    这是一个创建于 3230 天前的主题,其中的信息可能已经有所发展或是发生改变。

    laravel5.2的就 OK 但是5.2的 group 路由也是超时错误 5.3的就连首页都打不开 hosts 文件肯定没有错的

    服务器错误日志:

    2017/02/21 23:16:25 [info] 5427#0: *1000 client timed out (60: Operation timed out) while waiting for request, client: 127.0.0.1, server: 0.0.0.0:80 2017/02/21 23:16:25 [info] 5427#0: *1001 client timed out (60: Operation timed out) while waiting for request, client: 127.0.0.1, server: 0.0.0.0:80 2017/02/21 23:16:25 [info] 5427#0: *1002 client timed out (60: Operation timed out) while waiting for request, client: 127.0.0.1, server: 0.0.0.0:80 2017/02/21 23:16:25 [info] 5427#0: *1003 client timed out (60: Operation timed out) while waiting for request, client: 127.0.0.1, server: 0.0.0.0:80 2017/02/21 23:20:47 [info] 5427#0: *1007 client closed connection while waiting for request, client: 127.0.0.1, server: 0.0.0.0:80 2017/02/21 23:20:47 [info] 5427#0: *1008 client closed connection while waiting for request, client: 127.0.0.1, server: 0.0.0.0:80 

    我的配置文件:

     1 server { 2 listen 80; 3 server_name dev.linger.com; 4 #charset koi8-r; 5 root /usr/local/var/www/linger/public; 6 index index.php index.html index.htm; 7 location / { 8 proxy_ignore_client_abort on; 9 try_files $uri $uri/ /index.php?$args; 10 } 11 # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 12 location ~ \.php$ { 13 fastcgi_buffer_size 128k; 14 fastcgi_buffers 32 32k; 15 fastcgi_pass 127.0.0.1:9000; 16 fastcgi_index index.php; 17 fastcgi_intercept_errors on; 18 include /usr/local/etc/nginx/fastcgi.conf; 19 } 20 access_log /usr/local/var/log/nginx/local.access.log main; 21 error_log /usr/local/var/log/nginx/local.error.log info; 22 #error_page 404 /404.html; 23 # redirect server error pages to the static page /50x.html 24 # 25 error_page 500 502 503 504 /50x.html; 26 location = /50x.html { 27 root html; 28 } 29 # deny access to .htaccess files, if Apache's document root 30 # concurs with nginx's one 31 # 32 #location ~ /\.ht { 33 # deny all; 34 #} 35 } 

    请求大神帮忙解决下 thanks 百度 google 无果

    Ellison
        1
    Ellison  
       2017-02-22 10:50:08 +08:00
    权限
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2593 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 24ms UTC 14:54 PVG 22:54 LAX 06:54 JFK 09:54
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86