Welcome! Log In Create A New Profile

Advanced

Re: nginx does't serve compressed static .html files. is it a bug?

Francis Daly
February 06, 2015 05:54PM
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@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx dows't serve compressed static .html files. is it a bug?

peter petrov February 04, 2015 04:38PM

Re: nginx dows't serve compressed static .html files. is it a bug?

Francis Daly February 04, 2015 05:54PM

Re: nginx does't serve compressed static .html files. is it a bug?

peter petrov February 05, 2015 03:30PM

Re: nginx does't serve compressed static .html files. is it a bug?

Francis Daly February 05, 2015 04:16PM

Re: nginx does't serve compressed static .html files. is it a bug?

peter petrov February 06, 2015 04:24PM

Re: nginx does't serve compressed static .html files. is it a bug?

Francis Daly February 06, 2015 05:54PM

Re: nginx does't serve compressed static .html files. is it a bug?

peter petrov February 07, 2015 02:58PM

Re: nginx does't serve compressed static .html files. is it a bug?

itpp2012 February 07, 2015 03:23PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 307
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready