Blame SOURCES/UPGRADE-NOTES-1.6-to-1.10

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