Hi guys, ok just removing the file size did work...and the http test as well. &nbsp;Now should I be concerned with gzip_http at all? what is going to give me compression for most clients out there?<div><br></div><div>Thanks for the tip on the types as well.</div>
<div><br></div><div>Christian<br><br><div class="gmail_quote">On Wed, May 21, 2008 at 11:24 AM, Calomel &lt;<a href="mailto:nginxlist@calomel.org">nginxlist@calomel.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Christian,<br>
<br>
Is the test file you are testing larger than 1100 bytes and one of the<br>
formates you listed in gzip_types?<br>
<br>
If you have curl (linux, BSD, ect.) installed you can do your own<br>
header tests with: &nbsp;curl -I --compressed <a href="http://localhost" target="_blank">http://localhost</a><br>
<br>
 &nbsp;Nginx &quot;how to&quot;<br>
 &nbsp;<a href="https://calomel.org/nginx.html" target="_blank">https://calomel.org/nginx.html</a><br>
<br>
--<br>
 &nbsp;Calomel @ <a href="https://calomel.org" target="_blank">https://calomel.org</a><br>
 &nbsp;Open Source Research and Reference<br>
<div class="Ih2E3d"><br>
<br>
On Wed, May 21, 2008 at 12:24:39AM -0500, Christian Billen wrote:<br>
&gt; &nbsp; Hello,<br>
&gt; &nbsp; I have a fresh new installation of nginx on ubuntu 8.04 (installed via<br>
&gt; &nbsp; apt-get, I believe it is 0.5.x something)<br>
&gt; &nbsp; In my nginx.conf file I have gzip turned on, now I wanted to do a basic<br>
&gt; &nbsp; test and serving a static html file, but the file does not come compressed<br>
&gt; &nbsp; at all.<br>
&gt; &nbsp; Here&#39;s the snippet of configuration, I tried variations on this without<br>
&gt; &nbsp; success<br>
&gt; &nbsp; &nbsp;gzip &nbsp;on;<br>
&gt; &nbsp; &nbsp; &nbsp; gzip_min_length &nbsp;1100;<br>
&gt; &nbsp; &nbsp; &nbsp; gzip_buffers &nbsp; &nbsp; 4 8k;<br>
&gt; &nbsp; &nbsp; &nbsp; gzip_proxied &nbsp; &nbsp; any;<br>
&gt; &nbsp; &nbsp; &nbsp; gzip_types &nbsp; &nbsp; &nbsp; text/plain text/html text/css<br>
&gt; &nbsp; application/x-javascript text/xml application/xml application/xml+rss<br>
&gt; &nbsp; text/javascript;<br>
&gt; &nbsp; &nbsp; &nbsp; gzip_http_version 1.1;<br>
&gt; &nbsp; &nbsp; &nbsp; gzip_comp_level 6;<br>
&gt; &nbsp; Does anyone have any idea why nothing is compressed?<br>
</div>&gt; &nbsp; I&#39;ve used this [1]<a href="http://www.gidnetwork.com/tools/gzip-test.php" target="_blank">http://www.gidnetwork.com/tools/gzip-test.php</a> and others<br>
<div class="Ih2E3d">&gt; &nbsp; to test the results.<br>
&gt; &nbsp; Thank you so much!<br>
&gt;<br>
</div>&gt;References<br>
&gt;<br>
&gt; &nbsp; Visible links<br>
&gt; &nbsp; 1. <a href="http://www.gidnetwork.com/tools/gzip-test.php" target="_blank">http://www.gidnetwork.com/tools/gzip-test.php</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br><br><br>Christian Billen<br>Director of IT<br>Warmlyyours.com, inc.<br> <br>Phone: (800) 875-5285 ext.800<br>Fax: (847) 550-2600<br>Email: <a href="mailto:cbillen@warmlyyours.com">cbillen@warmlyyours.com</a><br>
<br>WarmlyYours<br>Honeywell authorized licensee<br>2 Corporate Dr., Suite 100<br>Long Grove, Illinois 60047<br> <br>Visit the WarmlyYours website at: <a href="http://www.warmlyyours.com">www.warmlyyours.com</a><br> <br>24/7 Installation Support • Lifetime Technical Assistance • Free Design Service<br>
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
</div>