если это Zend приложение то:<div><br></div><div> location /se/ {</div><div> root /var/www/project/public;<br><div> </div><div> fastcgi_index index.php;</div><div> fastcgi_param APPLICATION_ENV developer;</div>
<div> fastcgi_param SCRIPT_FILENAME $document_root/index.php;</div><div> fastcgi_param SCRIPT_NAME /index.php;</div><div> fastcgi_param QUERY_STRING $args;</div>
<div> include fastcgi_params;</div></div><div><br></div><div> client_max_body_size 10m;<br> client_body_buffer_size 128k;<br><br> fastcgi_connect_timeout 90;<br> fastcgi_send_timeout 180;<br>
fastcgi_read_timeout 180;</div><div>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - не много ?</div><div><br> fastcgi_buffer_size 1024K;<br> fastcgi_buffers 8 512k;<br> fastcgi_busy_buffers_size 1024k;<br>
fastcgi_temp_file_write_size 1024k;<br> fastcgi_intercept_errors on;<br> fastcgi_pass_header *;<br><br> }</div><div><div><br></div><br><div class="gmail_quote">2011/8/29 vital_kuzmich <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Добрый день.<br>
<br>
nginx должен обрабатывать только запросы<br>
к папке /se/ и отдавать статику. Все<br>
остальное обрабатывает Apache.<br>
Статика отдается нормально, но в ответ<br>
на обращение к папке /se/ получаю "No input file<br>
specified."<br>
<br>
фрагмент конфига:<br>
<br>
...<br>
<br>
location ~* ^/se/(.+)?$<br>
{<br>
fastcgi_pass <a href="http://127.0.0.1:9900" target="_blank">127.0.0.1:9900</a>;<br>
fastcgi_param SCRIPT_FILENAME<br>
/var/www/project/public/index.php/$1;<br>
fastcgi_param APPLICATION_ENV developer;<br>
include fastcgi_params;<br>
client_max_body_size 10m;<br>
client_body_buffer_size 128k;<br>
<br>
fastcgi_connect_timeout 90;<br>
fastcgi_send_timeout 180;<br>
fastcgi_read_timeout 180;<br>
fastcgi_buffer_size 1024K;<br>
fastcgi_buffers 8 512k;<br>
fastcgi_busy_buffers_size 1024k;<br>
fastcgi_temp_file_write_size 1024k;<br>
fastcgi_intercept_errors on;<br>
fastcgi_pass_header *;<br>
<br>
}<br>
<br>
location /<br>
{<br>
proxy_pass <a href="http://127.0.0.1:8080/" target="_blank">http://127.0.0.1:8080/</a>;<br>
proxy_set_header Host $host;<br>
proxy_set_header X-Real-IP $remote_addr;<br>
proxy_set_header X-Forwarded-For $remote_addr;<br>
<br>
proxy_connect_timeout 120;<br>
proxy_send_timeout 120;<br>
proxy_read_timeout 180;<br>
}<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?21,214438,214438#msg-214438" target="_blank">http://forum.nginx.org/read.php?21,214438,214438#msg-214438</a><br>
<br>
_______________________________________________<br>
nginx-ru mailing list<br>
<a href="mailto:nginx-ru@nginx.org">nginx-ru@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-ru" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-ru</a><br>
</blockquote></div><br></div>