Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No input file specified
On Mon, Aug 29, 2011 at 10:18:29AM -0400, vital_kuzmich wrote:
> Добрый день.
>
> 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;
> }
location /se/ {
location ~* ^/se/(?<PATH_INFO>.+)?$ {
fastcgi_pass 127.0.0.1:9900;
fastcgi_param SCRIPT_FILENAME /var/www/project/public/index.php;
fastcgi_param APPLICATION_ENV developer;
fastcgi_param PATH_INFO $path_info;
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 *;
--
Игорь Сысоев
http://sysoev.ru
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|