分类: 系统运维
2015-08-13 11:15:16
1
2
3
4
5
6
|
OS Version: CentOS release 6.4 (Final)
Nginx Version: nginx version: nginx/ 1.4 . 3
PHP Version: PHP 5.5 . 5 (fpm-fcgi)
Mysql Version: Server version: 5.6 . 10 -log Source distribution
Kernel Version: 2.6 . 32 - 358 .el6.x86_64
IP address: 192.168 . 168.133
|
1
|
|
1
|
2013/10/22 20:05:49 [error] 12691#0: *6 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.168.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.168.133"
|
1
|
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
|
1
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
1
2
3
4
|
location / {
root /usr/local/nginx/html ;
index index.php index.html index.htm;
}
|