can I use it on 0.4.12?<br><br><div><span class="gmail_quote">On 10/30/06, <b class="gmail_sendername">Igor Sysoev</b> &lt;<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, 29 Oct 2006, Toshiki NISHIHATA wrote:<br><br>&gt; 2006/10/29, Igor Sysoev &lt;<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>&gt;:<br>&gt;&gt; On Sun, 29 Oct 2006, Toshiki NISHIHATA wrote:<br>&gt;&gt;<br>&gt;&gt; &gt; I use nginx of GNU/Linux Ecth(testing) package.
<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; # nginx&nbsp;&nbsp;-v<br>&gt;&gt; &gt; nginx version: nginx/0.4.2<br>&gt;&gt; &gt; built by gcc 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; For security, I want to hide the http header; &quot;Server: nginx/0.4.2
<br>&gt;&gt; &gt; &quot;.<br>&gt;&gt; &gt; I thouth that &quot;proxy_pass_header Server&quot; allows transferring &quot;Server&quot;<br>&gt;&gt; &gt; header forbidden.<br>&gt;&gt; &gt; So, I rewrite follow at /etc/nginx/nginx.conf, but header &quot;Server&quot; didn't
<br>&gt;&gt; &gt; hide.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; location / {<br>&gt;&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;root&nbsp;&nbsp; /var/www;<br>&gt;&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;proxy_pass_header&nbsp;&nbsp;Server;<br>&gt;&gt; &gt; }<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; $ telnet 
<a href="http://sample.com">sample.com</a> 80<br>&gt;&gt; &gt; GET /index.html HTTP/1.0<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; HTTP/1.1 200 OK<br>&gt;&gt; &gt; Server: nginx/0.4.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;--------------&nbsp;&nbsp; want to hide!!
<br>&gt;&gt; &gt; Date: Sat, 28 Oct 2006 16:58:28 GMT<br>&gt;&gt; &gt; Content-Type: text/html<br>&gt;&gt; &gt; Content-Length: 151<br>&gt;&gt; &gt; ....<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; What should I do?<br>&gt;&gt;<br>
&gt;&gt; &quot;proxy_pass_header Server&quot; passes a backend Server header only.<br>&gt;&gt; To disable Server header for static responses you need to patch the<br>&gt;&gt; sources:<br>&gt;&gt; currently there is no directive to disable it.
<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Igor Sysoev<br>&gt;&gt; <a href="http://sysoev.ru/en/">http://sysoev.ru/en/</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt; Thank you to respond a baby question.<br>&gt;<br>&gt; As a future plan of development,
<br>&gt; Don't you have a plan to add such a directive?<br><br>No.<br>The patch to delete the header entirely&nbsp;&nbsp;is attached.<br><br><br>Igor Sysoev<br><a href="http://sysoev.ru/en/">http://sysoev.ru/en/</a><br><br></blockquote>
</div><br><br clear="all"><br>-- <br>Life is hard