-------- Оригинално писмо -------- От: Francis Daly [email protected] Относно: Re: nginx does't serve compressed static .html files. is it a bug? До: [email protected] Изпратено на: 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 [email protected] Hi, Everything is working perfectly now. You can't imagine how grateful am I. _______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
