nginx does't serve compressed static .html files. is it a bug?
    peter petrov 
    nginxuser at abv.bg
       
    Sat Feb  7 19:56:57 UTC 2015
    
    
  
 -------- Оригинално писмо --------
От: Francis Daly francis at daoine.org
Относно: Re: nginx does't serve compressed static .html files. is it a bug?
До: nginx at nginx.org
Изпратено на: 07.02.2015 00:53
On Fri, Feb 06, 2015 at 11:22:22PM +0200, peter petrov wrote:
Hi there,
> # ls -l html/index.html*
> -rw-r--r-- 1 root root 612 Jul 23  2013 html/index.html
> -rw-r--r-- 1 root root 392 Feb  5 21:06 html/index.html.gz
> 1. sudo tar czvf index.html.gz index.html
Don't use tar.
Just use gzip.
gzip index.html
or
gzip -c index.html > index.html.gz
	f
-- 
Francis Daly         francis at daoine.org 
Hi,
Everything is working perfectly now. You can't imagine how grateful am I.
_______________________________________________
nginx mailing list
 nginx at nginx.org 
 http://mailman.nginx.org/mailman/listinfo/nginx 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150207/61c2bb98/attachment.html>
    
    
More information about the nginx
mailing list