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