Learn about Centmin Mod LEMP Stack today
Register Now

Nginx Nginx 1.9.0 released

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

  1. RoldanLT

    RoldanLT Well-Known Member

    3,828
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    7:51 AM
    1.11
    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
     
    • Like Like x 1
  2. Steve Tozer

    Steve Tozer Member

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

    RoldanLT Well-Known Member

    3,828
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    7:51 AM
    1.11
    10.2
    Mainline Version :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,574
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,756
    Local Time:
    9:51 AM
    Nginx 1.13.x
    MariaDB 5.5
    yup 1.9.0 is mainline

    updated my Wordpress 7 blog to Nginx 1.9.0

     
  5. sepulchre

    sepulchre Member

    90
    15
    8
    Dec 22, 2014
    Ratings:
    +15
    Local Time:
    1:51 AM
    Safe to use?
     
  6. RoldanLT

    RoldanLT Well-Known Member

    3,828
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    7:51 AM
    1.11
    10.2
    Yes.
     
  7. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,574
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,756
    Local Time:
    9:51 AM
    Nginx 1.13.x
    MariaDB 5.5
    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

    28,957
    6,574
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,756
    Local Time:
    9:51 AM
    Nginx 1.13.x
    MariaDB 5.5
    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. RoldanLT

    RoldanLT Well-Known Member

    3,828
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    7:51 AM
    1.11
    10.2
    Luckily I have it disabled :).
     
  10. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,574
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,756
    Local Time:
    9:51 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 2
  11. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,574
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,756
    Local Time:
    9:51 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1
  12. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,574
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,756
    Local Time:
    9:51 AM
    Nginx 1.13.x
    MariaDB 5.5
    Nginx official word on 1.8 and 1.9 NGINX 1.8 and 1.9 Released - NGINX

     
  13. sepulchre

    sepulchre Member

    90
    15
    8
    Dec 22, 2014
    Ratings:
    +15
    Local Time:
    1:51 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

    28,957
    6,574
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,756
    Local Time:
    9:51 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1
  15. sepulchre

    sepulchre Member

    90
    15
    8
    Dec 22, 2014
    Ratings:
    +15
    Local Time:
    1:51 AM
    • Like Like x 1
  16. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,574
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,756
    Local Time:
    9:51 AM
    Nginx 1.13.x
    MariaDB 5.5
    Glad to see :)
     
    • Like Like x 1
  17. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,574
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,756
    Local Time:
    9:51 AM
    Nginx 1.13.x
    MariaDB 5.5
    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 :)

     
    • Like Like x 1
  18. Matt

    Matt Moderator Staff Member

    680
    314
    63
    May 25, 2014
    Sheffield, UK
    Ratings:
    +433
    Local Time:
    12:51 AM
    1.7.1
    MariaDB 10
    anything need to be done to get this working on the .07 branch?
     
  19. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,574
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,756
    Local Time:
    9:51 AM
    Nginx 1.13.x
    MariaDB 5.5
    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 Moderator Staff Member

    680
    314
    63
    May 25, 2014
    Sheffield, UK
    Ratings:
    +433
    Local Time:
    12:51 AM
    1.7.1
    MariaDB 10
    I've just put .08 beta 02 onto the VPS, so running that now :)
     
    • Like Like x 1