ignatenkobrain / rpms / nginx

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