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]

- proxy_hide_header


  • To: nginx-ru@xxxxxxxxx
  • Subject: - proxy_hide_header
  • From: Alexander Petrovsky <askjuise@xxxxxxxxx>
  • Date: Tue, 16 Nov 2010 13:05:12 +0800
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=0SmVMTzz5WyHg6dUGC94ga85lyOrcd6Gm7atq69m74o=; b=jAgqdKRc0V+vGcOWxZoWpwIw50Z331vWj++5SOAYZZ9RLNXP2aiBoWxxiV9WIOo1sG ecpzW9rIWdTZnHv7gQIQozajPSF2AFs0aAwYBFDaOK5XqjERpnqf2xm2ogBY93FBnJqh L/lkYaCvjFaaOz3wQ1RwumSJlaaWy3b9RZ0y0=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nHOuCjJo2RyWCAz9sIRG0N4/aQumWZdGx1lJxAy6ISiGhSYWLQXsA8R72r6JIM7qo2 6/7FZehltogEXTV2tGBzQ3HqAWno4x7s4cy77QHFRzDz+DHbuaPn2rygWhRq4vqOqhVF EKVzFczgtzw0hjb8/cu49ykA4DX9LTeM0KIrk=

:

location / {
proxy_pass http://localhost:8180/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_cache off;
# proxy_cache primary_zone;
proxy_cache_valid 200 301 302 304 10m;
proxy_cache_use_stale updating error timeout invalid_header http_404 http_500 http_502 http_503;
proxy_cache_key $scheme$host$uri$is_args$args;

# proxy_cache_bypass $cookie_JSESSIONID;

proxy_hide_header "Set-Cookie";
proxy_ignore_headers "Cache-Control" "Expires";
}


, /login $cookie_JSESSIONID , proxy_hide_header "Set-Cookie" ţ , . / , proxy_hide_header "Set-Cookie" $cookie_JSESSIONID .

?

> uname -a
FreeBSD www.sei.irk.ru 8.0-STABLE FreeBSD 8.0-STABLE #0 r199880: Thu Dec 3 13:35:21 IRKT 2009 alexander@xxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/WEBKERNEL i386
> nginx -V
nginx version: nginx/0.8.50
built by gcc 4.2.1 20070719 [FreeBSD]
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 --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_addition_module --with-http_gzip_static_module --with-http_ssl_module --with-http_stub_status_module --with-pcre
>

--
/ Alexander Petrovsky,

ICQ: 350342118
Jabber: juise@xxxxxxxxx
Phone: +7 914 8 820 815
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.