<HTML><BODY>
<br><br><br><br>




 -------- Оригинално писмо --------
<br>От: Francis Daly francis@daoine.org
<br>Относно: Re: nginx does't serve compressed static .html files. is it a bug?
<br>До: nginx@nginx.org
<br>Изпратено на: 07.02.2015 00:53
<br><br>On Fri, Feb 06, 2015 at 11:22:22PM +0200, peter petrov wrote:<br>
<br>
Hi there,<br>
<br>
> # ls -l html/index.html*<br>
> -rw-r--r-- 1 root root 612 Jul 23  2013 html/index.html<br>
> -rw-r--r-- 1 root root 392 Feb  5 21:06 html/index.html.gz<br>
<br>
> 1. sudo tar czvf index.html.gz index.html<br>
<br>
Don't use tar.<br>
<br>
Just use gzip.<br>
<br>
gzip index.html<br>
<br>
or<br>
<br>
gzip -c index.html > index.html.gz<br>
<br>
        f<br>
-- <br>
Francis Daly        <a href="javascript: internSendMess('francis@daoine.org')">francis@daoine.org</a><br>
<br>Hi,<br><br>Everything is working perfectly now. You can't imagine how grateful am I.<br><br><br><br>
_______________________________________________<br>
nginx mailing list<br>
<a href="javascript: internSendMess('nginx@nginx.org')">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</BODY></HTML>