Welcome to Centmin Mod Community
Become a Member

Nginx Nginx 1.9.0 released

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

  1. rdan

    rdan Premium Member Premium Member

    4,290
    1,040
    113
    May 25, 2014
    Ratings:
    +1,497
    Local Time:
    6:39 AM
    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
     
    • Like Like x 1
  2. Steve Tozer

    Steve Tozer Member

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

    rdan Premium Member Premium Member

    4,290
    1,040
    113
    May 25, 2014
    Ratings:
    +1,497
    Local Time:
    6:39 AM
    Mainline
    10.2
    Mainline Version :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    36,348
    7,981
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,290
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yup 1.9.0 is mainline

    updated my Wordpress 7 blog to Nginx 1.9.0

     
  5. sepulchre

    sepulchre Member

    108
    18
    18
    Dec 22, 2014
    Ratings:
    +21
    Local Time:
    12:39 AM
    Safe to use?
     
  6. rdan

    rdan Premium Member Premium Member

    4,290
    1,040
    113
    May 25, 2014
    Ratings:
    +1,497
    Local Time:
    6:39 AM
    Mainline
    10.2
    Yes.
     
  7. eva2000

    eva2000 Administrator Staff Member

    36,348
    7,981
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,290
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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

    36,348
    7,981
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,290
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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 Premium Member Premium Member

    4,290
    1,040
    113
    May 25, 2014
    Ratings:
    +1,497
    Local Time:
    6:39 AM
    Mainline
    10.2
    Luckily I have it disabled :).
     
  10. eva2000

    eva2000 Administrator Staff Member

    36,348
    7,981
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,290
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    • Like Like x 2
  11. eva2000

    eva2000 Administrator Staff Member

    36,348
    7,981
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,290
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    • Like Like x 1
  12. eva2000

    eva2000 Administrator Staff Member

    36,348
    7,981
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,290
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Nginx official word on 1.8 and 1.9 NGINX 1.8 and 1.9 Released - NGINX

     
  13. sepulchre

    sepulchre Member

    108
    18
    18
    Dec 22, 2014
    Ratings:
    +21
    Local Time:
    12:39 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

    36,348
    7,981
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,290
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    • Like Like x 1
  15. sepulchre

    sepulchre Member

    108
    18
    18
    Dec 22, 2014
    Ratings:
    +21
    Local Time:
    12:39 AM
    • Like Like x 1
  16. eva2000

    eva2000 Administrator Staff Member

    36,348
    7,981
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,290
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Glad to see :)
     
    • Like Like x 1
  17. eva2000

    eva2000 Administrator Staff Member

    36,348
    7,981
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,290
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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

    776
    347
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +524
    Local Time:
    11:39 PM
    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

    36,348
    7,981
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,290
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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

    776
    347
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +524
    Local Time:
    11:39 PM
    1.5.15
    MariaDB 10.2
    I've just put .08 beta 02 onto the VPS, so running that now :)
     
    • Like Like x 1
..