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        [email protected]

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to