Welcome! Log In Create A New Profile

Advanced

No input file specified

August 29, 2011 10:18AM
Добрый день.

nginx должен обрабатывать только запросы к папке /se/ и отдавать статику. Все остальное обрабатывает Apache.
Статика отдается нормально, но в ответ на обращение к папке /se/ получаю "No input file specified."

фрагмент конфига:

...

location ~* ^/se/(.+)?$
{
fastcgi_pass 127.0.0.1:9900;
fastcgi_param SCRIPT_FILENAME /var/www/project/public/index.php/$1;
fastcgi_param APPLICATION_ENV developer;
include fastcgi_params;
client_max_body_size 10m;
client_body_buffer_size 128k;

fastcgi_connect_timeout 90;
fastcgi_send_timeout 180;
fastcgi_read_timeout 180;
fastcgi_buffer_size 1024K;
fastcgi_buffers 8 512k;
fastcgi_busy_buffers_size 1024k;
fastcgi_temp_file_write_size 1024k;
fastcgi_intercept_errors on;
fastcgi_pass_header *;

}

location /
{
proxy_pass http://127.0.0.1:8080/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;

proxy_connect_timeout 120;
proxy_send_timeout 120;
proxy_read_timeout 180;
}
Subject Author Posted

No input file specified

vital_kuzmich August 29, 2011 10:18AM

Re: No input file specified

Alexander Moskalenko August 29, 2011 10:46AM

Re: No input file specified

Igor Sysoev August 29, 2011 10:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 60
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready