Maxim Dounin
4884cd611e
Charset filter: fixed charset setting on encoded replies.
...
If response is gzipped we can't recode response, but in case it's not
needed we still can add charset to Content-Type.
The r->ignore_content_encoding is dropped accordingly, charset with gzip_static
now properly works without any special flags.
2014-05-19 22:45:34 +04:00
Valentin Bartenev
2c0defac9b
Gzip static: fixed NGX_CONF_FLAG misuse.
2014-03-03 17:17:25 +04:00
Maxim Dounin
86aee85d2e
Gzip static: "always" parameter in "gzip_static" directive.
...
With "always" gzip static returns gzipped content in all cases, without
checking if client supports it. It is useful if there are no uncompressed
files on disk anyway.
2012-09-10 16:48:25 +00:00
Maxim Dounin
eb7c38a49a
Entity tags: set for static respones.
2012-07-09 00:13:06 +00:00
Andrey Belov
eeec229e3e
Allows particular modules to handle subrequests properly.
2012-04-26 13:06:27 +00:00
Valentin Bartenev
0e05ca0404
Disable symlinks: initialization of the "disable_symlinks" field in
...
ngx_open_file_info_t moved to a separate function.
This is preparation for the "from=" parameter implementation of the
"disable_symlinks" directive.
2012-02-27 16:51:28 +00:00
Andrey Belov
8ce8f6667f
Support for disable_symlinks in various modules.
2012-02-13 16:32:21 +00:00
Maxim Konovalov
f8d59e33f3
Copyright updated.
2012-01-18 15:07:43 +00:00
Igor Sysoev
de0b1d6f12
remove r->zero_in_uri
2010-05-24 12:35:10 +00:00
Igor Sysoev
05b1a8f1e3
ngx_str_set() and ngx_str_null()
2010-05-14 09:56:37 +00:00
Igor Sysoev
e003988f87
do not log misleading errno in "not a regular file" error
2010-04-21 16:01:52 +00:00
Igor Sysoev
6c49a5afcf
refactor gzip_vary handling
2009-11-12 13:41:56 +00:00
Igor Sysoev
2c0b6f3e70
nginx sent gzipped responses to clients those do not support gzip,
...
if "gzip_static on" and "gzip_vary off"; the bug had been introduced in r3136
2009-11-11 21:12:41 +00:00
Igor Sysoev
3266171fd4
read_ahead
2009-09-30 13:21:52 +00:00
Igor Sysoev
04c2f085f4
nginx always sent "Vary: Accept-Encoding",
...
if both gzip_static and gzip_vary were on
2009-09-15 11:57:29 +00:00
Igor Sysoev
260c4321d7
return NULL instead of NGX_CONF_ERROR on a create conf failure
2009-06-02 16:09:44 +00:00
Igor Sysoev
93c483e0c5
add charset for ngx_http_gzip_static_module responses
2009-05-22 11:05:26 +00:00
Igor Sysoev
f1cc457d7f
*) of.test_only to not open file if only stat() is enough
...
*) of.failed to return exact name of failed syscall
2009-04-27 09:55:53 +00:00
Igor Sysoev
d7fe640672
remove TODO comments
2009-04-18 19:39:06 +00:00
Igor Sysoev
f1bde24720
set r->root_tested for non-error_page response only
2009-01-16 13:53:08 +00:00
Igor Sysoev
8633e1fa06
*) handle unaligned file part for directio
...
*) disable sendfile in directio mode
2008-09-05 14:48:47 +00:00
Igor Sysoev
385af28642
directio
2008-07-30 12:34:04 +00:00
Igor Sysoev
edf1c8c1b8
always test root existence for access_log with variables
2008-07-07 09:26:13 +00:00
Igor Sysoev
5a0eac8692
ngx_memzero() ngx_open_file_info_t
2008-06-26 14:07:59 +00:00
Igor Sysoev
3e6f74da05
initialize of.uniq in ngx_open_cached_file()
2008-06-23 13:35:34 +00:00
Igor Sysoev
c49ed61376
"gzip_vary on" always sends "Vary: Accept-Encoding" header
2008-06-20 14:41:03 +00:00
Igor Sysoev
f53c2a00f8
ngx_http_gzip_static_module should DECLINE request
2008-01-08 10:35:50 +00:00
Igor Sysoev
86b915901a
optimization
2007-12-27 20:32:43 +00:00
Igor Sysoev
c16b005f30
ngx_http_gzip_static_module and gzip_disable
2007-12-27 14:21:59 +00:00