Welcome to Centmin Mod Community
Register Now

Nginx Nginx 1.9.0 released

Discussion in 'Nginx and PHP-FPM news & discussions' started by rdan, Apr 29, 2015.

  1. rdan

    rdan Well-Known Member

    5,439
    1,397
    113
    May 25, 2014
    Ratings:
    +2,186
    Local Time:
    4:13 PM
    Mainline
    10.2
    Changes with nginx 1.9.0 28 Apr 2015

    *) Change: obsolete aio and rtsig event methods have been removed.

    *) Feature: the "zone" directive inside the "upstream" block.


    *) Feature: the stream module.

    *) Feature: byte ranges support in the ngx_http_memcached_module.
    Thanks to Martin Mlynář.

    *) Feature: shared memory can now be used on Windows versions with
    address space layout randomization.
    Thanks to Sergey Brester.

    *) Feature: the "error_log" directive can now be used on mail and server
    levels in mail proxy.

    *) Bugfix: the "proxy_protocol" parameter of the "listen" directive did
    not work if not specified in the first "listen" directive for a
     
  2. Steve Tozer

    Steve Tozer Member

    70
    42
    18
    Jul 28, 2014
    South Wales, UK
    Ratings:
    +49
    Local Time:
    9:13 AM
    1.91
    10.0.19
    That was a big jump from 1.8 :eek:
     
  3. rdan

    rdan Well-Known Member

    5,439
    1,397
    113
    May 25, 2014
    Ratings:
    +2,186
    Local Time:
    4:13 PM
    Mainline
    10.2
    Mainline Version :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,148
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    6:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yup 1.9.0 is mainline

    updated my Wordpress 7 blog to Nginx 1.9.0

     
  5. sepulchre

    sepulchre Member

    167
    22
    18
    Dec 22, 2014
    Ratings:
    +28
    Local Time:
    10:13 AM
    Safe to use?
     
  6. rdan

    rdan Well-Known Member

    5,439
    1,397
    113
    May 25, 2014
    Ratings:
    +2,186
    Local Time:
    4:13 PM
    Mainline
    10.2
    Yes.
     
  7. eva2000

    eva2000 Administrator Staff Member

    53,148
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    6:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    well so far okay on Wordpress 7 blog :)

    some info on Nginx 1.9 stream feature
    looks like I need to specifically enable these at compile time for Nginx
     
    Last edited: Apr 29, 2015
  8. eva2000

    eva2000 Administrator Staff Member

    53,148
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    6:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    hmm looks like the ngx_stream_core module conflicts with nginx sticky module :(

    Code:
    nux/x64/include -I ../ngx_pagespeed-release-1.9.32.3-beta/psol/include/third_party/aprutil/gen/arch/linux/x64/include -I ../pcre-8.36 -I ../openssl-1.0.2a/.openssl/include -I objs -I src/http -I src/http/modules -I src/mail -I src/stream \
                    -o objs/addon/nginx-sticky-module-1.2.5/ngx_http_sticky_module.o \
                    ../nginx-sticky-module-1.2.5/ngx_http_sticky_module.c
    cc1: warnings being treated as errors
    ../nginx-sticky-module-1.2.5/ngx_http_sticky_module.c: In function ‘ngx_http_get_sticky_peer’:
    ../nginx-sticky-module-1.2.5/ngx_http_sticky_module.c:340: error: assignment makes pointer from integer without a cast
    make[1]: *** [objs/addon/nginx-sticky-module-1.2.5/ngx_http_sticky_module.o] Error 1
    make[1]: Leaving directory `/svr-setup/nginx-1.9.0'
    make: *** [install] Error 2
     
  9. rdan

    rdan Well-Known Member

    5,439
    1,397
    113
    May 25, 2014
    Ratings:
    +2,186
    Local Time:
    4:13 PM
    Mainline
    10.2
    Luckily I have it disabled :).
     
  10. eva2000

    eva2000 Administrator Staff Member

    53,148
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    6:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  11. eva2000

    eva2000 Administrator Staff Member

    53,148
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    6:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  12. eva2000

    eva2000 Administrator Staff Member

    53,148
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    6:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Nginx official word on 1.8 and 1.9 NGINX 1.8 and 1.9 Released - NGINX

     
  13. sepulchre

    sepulchre Member

    167
    22
    18
    Dec 22, 2014
    Ratings:
    +28
    Local Time:
    10:13 AM
    :p'
    You said safe to use, I upgraded, got then the same error about nginx sticky module. So downgraded again.
     
  14. eva2000

    eva2000 Administrator Staff Member

    53,148
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    6:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  15. sepulchre

    sepulchre Member

    167
    22
    18
    Dec 22, 2014
    Ratings:
    +28
    Local Time:
    10:13 AM
  16. eva2000

    eva2000 Administrator Staff Member

    53,148
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    6:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Glad to see :)
     
  17. eva2000

    eva2000 Administrator Staff Member

    53,148
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    6:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    I see Nginx 1.9 stream module support has feature that overlaps with sticky module both allow you to do session persistence to ensure client ip goes to same upstream backend. Nginx 1.9 uses hash key feature for such so sticky module isn't needed anymore with Nginx 1.9 :)

     
  18. Matt

    Matt Well-Known Member

    925
    414
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +669
    Local Time:
    9:13 AM
    1.5.15
    MariaDB 10.2
    anything need to be done to get this working on the .07 branch?
     
  19. eva2000

    eva2000 Administrator Staff Member

    53,148
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    6:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah actually a bit of work from 1 commit changes in .08 beta 02 (lines might not be same in .07 branch)

    commits in .08 beta 02 for 1.9 + with-stream support
    for .08 beta 02 lines 198-208 of inc/nginx_configure.inc

    I don't plan adding this to .07 stable though, only going to start with .08 beta 02 :)
     
  20. Matt

    Matt Well-Known Member

    925
    414
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +669
    Local Time:
    9:13 AM
    1.5.15
    MariaDB 10.2
    I've just put .08 beta 02 onto the VPS, so running that now :)