ðòïåëôù 


  áòèé÷ 


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]

Re: nested location + proxy_cache + http/server proxy_hide_header = bug


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: nested location + proxy_cache + http/server proxy_hide_header = bug
  • From: Albert Mikhaylov <trent.clainor@xxxxxxxxx>
  • Date: Fri, 13 Jul 2012 05:09:11 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=18yjr/vNvI6vuT4m6kUlw0HwWhoUF8RoCZNIuupK+eo=; b=lCJ2jt0T2FvwtNsbSR3G3INQVHgkNDmfB2I+F4ufA/s5HJEFf/pI196CefbdsC1NMS CTfVIojcCbuC9C127Rz6C73v2iL5vGVpmlVBTxpHsneOYxvBzEuknMgZ/Ev/A+oPc8CR MNlHiM8vM6X1nBizqi/VLc6sDMADTtFa72U53c4zFOksH11xbkstXSTSEgfQ8iUvKthr QDiNXwbmDLx8waamQFq5H/FFd94wmmhpHNHf8InFwOQ+MroC40XW3+f3Cql0i1UhWZFt Lrc3/Wj8LJmKx3kApn9VS8CqbcwF4wuwolZFCVSR4eI8folBBQut+zLXAOWIU03YEDtD Bl6w==
  • In-reply-to: <4FFF3F59.4090404@gmail.com>
  • References: <4FFF3F59.4090404@gmail.com>

2012/7/13 Konstantin Svist <fry.kun@xxxxxxxxx>
úÁÐÒÏÓ ÎÁ /index.php; ÂÜËÅÎÄ ×ÏÚ×ÒÁÝÁÅÔ X-Powered-By: PHP...

ëÏÎÆÉÇ:

š š proxy_hide_header šX-Powered-By; # ÎÅ ÒÁÂÏÔÁÅÔ
š š server š{
š š š š listen š80;
š š š š proxy_hide_header X-Powered-By; # ÎÅ ÒÁÂÏÔÁÅÔ
š š š š location / {
š š š š š š proxy_pass šhttp://localhost:1180;
š š š š š š proxy_hide_header X-Powered-By; š # ÒÁÂÏÔÁÅÔ
š š š š š š location ~ \.php$ {
š š š š š š š š proxy_hide_header X-Powered-By; š # ÒÁÂÏÔÁÅÔ
š š š š š š š š proxy_cache šmycache;
š š š š š š š š proxy_set_header šHost š 'foobar.com';
š š š š š š }
š š š š }



ÐÒÏÝÅ × php.ini ÐÒÏÐÉÓÁÔØ expose = Offš
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.