|
|
5188b7 |
#############
|
|
|
5188b7 |
Upgrade notes
|
|
|
5188b7 |
#############
|
|
|
5188b7 |
|
|
|
5188b7 |
To resolve numerous security flaws, the nginx package was updated to 1.10.x.
|
|
|
5188b7 |
|
|
|
5188b7 |
You should review your configuration files in /etc/nginx to determine if there
|
|
|
5188b7 |
are any incompatibilities. Below is a summary of the main incompatible changes.
|
|
|
5188b7 |
Some nginx directives have been changed or removed, so you may need to modify
|
|
|
5188b7 |
your configuration.
|
|
|
5188b7 |
|
|
|
5188b7 |
Please see upstream release notes for a complete list of new features,
|
|
|
5188b7 |
bug fixes, and changes: http://nginx.org/en/CHANGES-1.10
|
|
|
5188b7 |
One notable feature is support for HTTP/2.
|
|
|
5188b7 |
|
|
|
5188b7 |
Nginx gained support for dynamic modules. As part of this update, dynamic
|
|
|
5188b7 |
modules have been split into subpackages. For the time being these are hard
|
|
|
5188b7 |
dependencies to aid the upgrade path. When you install nginx, all of these
|
|
|
5188b7 |
modules are installed and enabled by default:
|
|
|
5188b7 |
- nginx-mod-http-geoip
|
|
|
5188b7 |
- nginx-mod-http-image-filter
|
|
|
5188b7 |
- nginx-mod-http-perl
|
|
|
5188b7 |
- nginx-mod-http-xslt-filter
|
|
|
5188b7 |
- nginx-mod-mail
|
|
|
5188b7 |
- nginx-mod-stream
|
|
|
5188b7 |
|
|
|
5188b7 |
Changes with nginx 1.10.x
|
|
|
5188b7 |
|
|
|
5188b7 |
*) Change: non-idempotent requests (POST, LOCK, PATCH) are no longer
|
|
|
5188b7 |
passed to the next server by default if a request has been sent to a
|
|
|
5188b7 |
backend; the "non_idempotent" parameter of the "proxy_next_upstream"
|
|
|
5188b7 |
directive explicitly allows retrying such requests.
|
|
|
5188b7 |
|
|
|
5188b7 |
*) Change: now the "output_buffers" directive uses two buffers by
|
|
|
5188b7 |
default.
|
|
|
5188b7 |
|
|
|
5188b7 |
*) Change: now nginx limits subrequests recursion, not simultaneous
|
|
|
5188b7 |
subrequests.
|
|
|
5188b7 |
|
|
|
5188b7 |
*) Change: now nginx checks the whole cache key when returning a
|
|
|
5188b7 |
response from cache.
|
|
|
5188b7 |
Thanks to Gena Makhomed and Sergey Brester.
|
|
|
5188b7 |
|
|
|
5188b7 |
*) Change: the "proxy_downstream_buffer" and "proxy_upstream_buffer"
|
|
|
5188b7 |
directives of the stream module are replaced with the
|
|
|
5188b7 |
"proxy_buffer_size" directive.
|
|
|
5188b7 |
|
|
|
5188b7 |
*) Change: duplicate "http", "mail", and "stream" blocks are now
|
|
|
5188b7 |
disallowed.
|
|
|
5188b7 |
|
|
|
5188b7 |
*) Change: now SSLv3 protocol is disabled by default.
|
|
|
5188b7 |
|
|
|
5188b7 |
*) Change: some long deprecated directives are not supported anymore.
|
|
|
5188b7 |
|
|
|
5188b7 |
*) Change: obsolete aio and rtsig event methods have been removed.
|
|
|
5188b7 |
|
|
|
5188b7 |
Changes with nginx 1.8.x
|
|
|
5188b7 |
|
|
|
5188b7 |
*) Change: the "sendfile" parameter of the "aio" directive is
|
|
|
5188b7 |
deprecated; now nginx automatically uses AIO to pre-load data for
|
|
|
5188b7 |
sendfile if both "aio" and "sendfile" directives are used.
|
|
|
5188b7 |
|
|
|
5188b7 |
*) Change: now the "If-Modified-Since", "If-Range", etc. client request
|
|
|
5188b7 |
header lines are passed to a backend while caching if nginx knows in
|
|
|
5188b7 |
advance that the response will not be cached (e.g., when using
|
|
|
5188b7 |
proxy_cache_min_uses).
|
|
|
5188b7 |
|
|
|
5188b7 |
*) Change: now after proxy_cache_lock_timeout nginx sends a request to a
|
|
|
5188b7 |
backend with caching disabled; the new directives
|
|
|
5188b7 |
"proxy_cache_lock_age", "fastcgi_cache_lock_age",
|
|
|
5188b7 |
"scgi_cache_lock_age", and "uwsgi_cache_lock_age" specify a time
|
|
|
5188b7 |
after which the lock will be released and another attempt to cache a
|
|
|
5188b7 |
response will be made.
|
|
|
5188b7 |
|
|
|
5188b7 |
*) Change: the "log_format" directive can now be used only at http
|
|
|
5188b7 |
level.
|
|
|
5188b7 |
|
|
|
5188b7 |
*) Change: now nginx takes into account the "Vary" header line in a
|
|
|
5188b7 |
backend response while caching.
|
|
|
5188b7 |
|
|
|
5188b7 |
*) Change: the deprecated "limit_zone" directive is not supported
|
|
|
5188b7 |
anymore.
|
|
|
5188b7 |
|
|
|
5188b7 |
*) Change: now the "stub_status" directive does not require a parameter.
|
|
|
5188b7 |
|
|
|
5188b7 |
*) Change: URI escaping now uses uppercase hexadecimal digits.
|
|
|
5188b7 |
Thanks to Piotr Sikora.
|
|
|
5188b7 |
|