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]


  • To: nginx-ru@xxxxxxxxx
  • Subject:
  • From: <nobody.mail@xxxxxxxxx>
  • Date: Wed, 13 Jan 2010 17:16:10 +0300
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=2u1pOvL175JM5oUZ5y79vDZbSeDq3tIOcaJoX5/hdUw=; b=s4tXomcV5p2c3xXPGggx66zv744qUReLRkt0+NZS5hZP+55Q1q/t4xmk5LiLUhJCfZ 9sUaHEbW0Xuxvlhpp2Hd9Xk9W45dujrZgwLcmp6yngZi7Vz4WhgvEnx/oOly0EgBs/xk 7rMS2J2/GxRQKz4zgZmOSEtE1y1Mv+KM57MQ8=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=SWqu4G7d5X9nBApy3ZYeIr4S5CCL9hQq5hxbCPaykI3IGMp0YPBfHvjgQY+FMdqF0k OID6gkvFI2/Ko8/0Onj5BA5eSwgypn1MOLKxA+RIy1PrI0OLVHXuTPGj9nQv4mKumEkG T8ji5BzHDhTanZnqj4OsTxJOhRhCWmbKRVxSc=

.

FreeBSD somehost.tld 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root@xxxxxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/SMP i386

nginx version: nginx/0.7.64
TLS SNI support enabled
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I /usr/local/include' --with-ld-opt='-L /usr/local/lib' --conf-path=/usr/local/etc/nginx/nginx.conf --sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx-error.log --user=www --group=www --with-google_perftools_module --http-client-body-temp-path=/var/tmp/nginx/client_body_temp --http-proxy-temp-path=/var/tmp/nginx/proxy_temp --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp --http-log-path=/var/log/nginx-access.log --with-http_gzip_static_module --with-http_image_filter_module --with-http_perl_module --with-http_realip_module --with-http_secure_link_module --with-http_ssl_module --with-http_stub_status_module --with-http_xslt_module --with-pcre

, :

back1, 404 error_page location.
rewrite uri , back1.
500 "the rewritten URI has a zero length while sending to client".

- , back1 rewrite? 8)

location / {
proxy_pass http://back1;

proxy_intercept_errors on;
recursive_error_pages on;

error_page 404 = @fetch;
<skipped>
}

location @fetch {

proxy_pass http://back2;
proxy_redirect off;
proxy_intercept_errors on;
recursive_error_pages on;

rewrite ^(.*)$ $SomeHeaderFromBack1 break;

proxy_set_header Host backstore.nodevice.com;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
<skipped>
}


--
,


: +7(928)2961142
icq: 101241013
jabber: nobody.mail@xxxxxxxxx

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

  • Follow-Ups:
    • Re:
      • From: Kruglov Eugenie

 




Copyright © Lexa Software, 1996-2009.