Code: Select all
Array
(
[USER] => daemon
[HOME] => /usr/sbin
[FCGI_ROLE] => RESPONDER
[SCRIPT_FILENAME] => /var/www/cacti/index.php
[PATH_INFO] => /index.php
[QUERY_STRING] =>
[REQUEST_METHOD] => GET
[CONTENT_TYPE] =>
[CONTENT_LENGTH] =>
[SCRIPT_NAME] => /index.php
[REQUEST_URI] => /
[DOCUMENT_URI] => /index.php
[DOCUMENT_ROOT] => /var/www/cacti
[SERVER_PROTOCOL] => HTTP/1.1
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_SOFTWARE] => nginx/1.0.0
[REMOTE_ADDR] => 192.168.0.104
[REMOTE_PORT] => 3840
[SERVER_ADDR] => 192.168.0.100
[SERVER_PORT] => 80
[SERVER_NAME] => cacti.52hola.com
[REDIRECT_STATUS] => 200
[HTTP_HOST] => cacti.52hola.com
[HTTP_CONNECTION] => keep-alive
[HTTP_CACHE_CONTROL] => max-age=0
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 6.1) AppleWebKit/534.32 (KHTML, like Gecko) Chrome/13.0.751.0 Safari/534.32
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_ACCEPT_ENCODING] => gzip,deflate,sdch
[HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.8
[HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.3
[PHP_SELF] => /index.php/index.php
[REQUEST_TIME] => 1311248496
[argv] => Array
(
)
[argc] => 0
)
Code: Select all
root /var/www/cacti;
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /var/www/cacti$fastcgi_script_name;
include fastcgi_params;
}