ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No input file specified


  • To: nginx-ru@xxxxxxxxx
  • Subject: No input file specified
  • From: "vital_kuzmich" <nginx-forum@xxxxxxxx>
  • Date: Mon, 29 Aug 2011 10:18:29 -0400
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=0MY74OFSCn6WpSnoO+hoUVa1ue34xABAB4nnR4U1v4g=; b=XPMu+KpRU0xwoarxGSJnJOuCIgBhEKg43G0BEZ96tqG55AcS3UMtA/HiKw3CADp7m144Ch4MkzUQM1RlD3a6kOL14JE5uj3+Rcgv+opw/PrDxeI+o5flCtWHIdahMOQi;

Добрый день.

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;
    }

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?21,214438,214438#msg-214438

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.