技术解析
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 无果