Re: serve precompressed files without also serving their uncompressed counterparts

2015-12-22 Thread Maxim Dounin
Hello! On Tue, Dec 22, 2015 at 07:15:53PM +0300, Valentin V. Bartenev wrote: > On Tuesday 22 December 2015 19:05:18 Valentin V. Bartenev wrote: > > On Tuesday 22 December 2015 11:01:19 snieuwen wrote: > > > Hi, > > > > > > Is it possible to serve precompressed files without serving their > > > u

Re: serve precompressed files without also serving their uncompressed counterparts

2015-12-22 Thread Valentin V. Bartenev
On Tuesday 22 December 2015 19:05:18 Valentin V. Bartenev wrote: > On Tuesday 22 December 2015 11:01:19 snieuwen wrote: > > Hi, > > > > Is it possible to serve precompressed files without serving their > > uncompressed counterparts? > > > > For example: > > /var/www/ contains index.html.gz, but n

Re: serve precompressed files without also serving their uncompressed counterparts

2015-12-22 Thread Valentin V. Bartenev
On Tuesday 22 December 2015 11:01:19 snieuwen wrote: > Hi, > > Is it possible to serve precompressed files without serving their > uncompressed counterparts? > > For example: > /var/www/ contains index.html.gz, but no index.html. How do I configure > nginx to respond with index.html.gz when the c

serve precompressed files without also serving their uncompressed counterparts

2015-12-22 Thread snieuwen
Hi, Is it possible to serve precompressed files without serving their uncompressed counterparts? For example: /var/www/ contains index.html.gz, but no index.html. How do I configure nginx to respond with index.html.gz when the client supports gzip or let nginx decompress the file on the fly when