Welcome! Log In Create A New Profile

Advanced

stub_status on = No input file specified

February 06, 2011 10:50PM
добавил в конфиг location /nginx_status { stub_status on; access_log off; }
рестартанул - ошибок нет, всё ок
дёргаю http://.../nginx_status
получаю [b]No input file specified.[/b]

в чём трабла ? я так понимаю это уже php-cgi отвечает ?

[code]
server {
listen 80;
server_name site.ru *.site.ru;

charset utf-8;

access_log /.../nginx.access.log main;
error_log /.../nginx.error.log;

set $subdomain "";
if ($host ~* ^([a-z0-9-\.]+)\.site.ru$) {
set $subdomain /$1;
}

if ($host ~* ^www.site.ru$) {
set $subdomain "";
}

root /var/vhosts/gtalex.ru/httpdocs/$subdomain;
fastcgi_index index.php;
fastcgi_intercept_errors on;
index index.php index.html index.htm;

location /nginx-status {
stub_status on;
access_log off;
}

location ~ \.php$ {
fastcgi_pass unix:/tmp/php-fcgi.sock;
include /usr/local/etc/fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}

location ~ /\.ht {
deny all;
break;
}

if (!-e $request_filename) {
rewrite ^(.+)$ /index.php last;
}
}
[/code]
Subject Author Posted

stub_status on = No input file specified

GTAlex February 06, 2011 10:50PM

Re: stub_status on = No input file specified

GTAlex February 06, 2011 11:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 273
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready