Join the community today
Become a Member

Nginx [nginx-announce] nginx-1.9.7

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Nov 18, 2015.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    54,328
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    8:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Changes with nginx 1.9.7 17 Nov 2015

    *) Feature: the "nohostname" parameter of logging to syslog.

    *) Feature: the "proxy_cache_convert_head" directive.

    *) Feature: the $realip_remote_addr in the ngx_http_realip_module.

    *) Bugfix: the "expires" directive might not work when using variables.

    *) Bugfix: a segmentation fault might occur in a worker process when
    using HTTP/2; the bug had appeared in 1.9.6.

    *) Bugfix: if nginx was built with the ngx_http_v2_module it was
    possible to use the HTTP/2 protocol even if the "http2" parameter of
    the "listen" directive was not specified.

    *) Bugfix: in the ngx_http_v2_module.


    --
    Maxim Dounin
    http://nginx.org/

    _______________________________________________
    nginx-announce mailing list
    nginx-announce@nginx.org
    http://mailman.nginx.org/mailman/listinfo/nginx-announce

    Continue reading...

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,328
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    8:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    finally out.. was almost 1 week delay for 1.9.7 due to some HTTP/2 bugs needed fixing :)

    Code:
    Changes with nginx 1.9.7                                         17 Nov 2015
    
        *) Feature: the "nohostname" parameter of logging to syslog.
    
        *) Feature: the "proxy_cache_convert_head" directive.
    
        *) Feature: the $realip_remote_addr variable in the
           ngx_http_realip_module.
    
        *) Bugfix: the "expires" directive might not work when using variables.
    
        *) Bugfix: a segmentation fault might occur in a worker process when
           using HTTP/2; the bug had appeared in 1.9.6.
    
        *) Bugfix: if nginx was built with the ngx_http_v2_module it was
           possible to use the HTTP/2 protocol even if the "http2" parameter of
           the "listen" directive was not specified.
    
        *) Bugfix: in the ngx_http_v2_module.
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,328
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    8:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    updated :D

    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.08 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu                 
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2/5.5 & 10.x Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + WP Super Cache
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 4
    --------------------------------------------------------
    
    Code:
    Do you want to run YUM install checks ?  [y/n]
    
    This will increase your upgrade duration time wise.
    Check the change log centminmod.com/changelog.html
    to see if any Nginx or PHP related new additions
    which require checking YUM prequisites are met.
    If no new additions made, you can skip the
    YUM install check to speed up upgrade time.
    
    [y/n]: n
    
    Code:
    Nginx Upgrade - Would you like to continue? [y/n] y
    
    Install which version of Nginx? (version i.e. 1.9.7}): 1.9.7
    Centmin Mod 123.08 stable
    Centmin Mod 123.09 beta01
     
    Last edited: Nov 18, 2015
  4. eva2000

    eva2000 Administrator Staff Member

    54,328
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    8:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Updated both Centmin Mod 123.08stable and 123.09beta01 builds for now disabled Nginx vhost traffic stats module temporarily so that centmin.sh variable defaults to NGINX_VHOSTSTATS=n. Posted an issue report on @vozlt's issue tracker at broken nginx 1.9.7 support ? · Issue #27 · vozlt/nginx-module-vts · GitHub too.

    Edit: Actual work around fix found broken nginx 1.9.7 support ? · Issue #27 · vozlt/nginx-module-vts · GitHub so re-enabled NGINX_VHOSTSTATS=y :)

    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version threads below:

    It is an issue i didn't have with Nginx 1.9.7 a few days ago so the Nginx vhost traffic stats latest November 20th commits might have broken something in terms of compatibility with Nginx 1.9.7

    Code (Text):
    Fri Nov 20 23:28:44 UTC 2015
    Success: Nginx make ok
    
    make -f objs/Makefile install
    make[1]: Entering directory `/svr-setup/nginx-1.9.7'
    ccache /usr/bin/clang -ferror-limit=0 -c -I/usr/local/include/luajit-2.1  -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Werror -g -m64 -mtune=native -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wno-deprecated-declarations -Wno-unused-parameter -Wno-unused-const-variable -Wno-conditional-uninitialized -Wno-mismatched-tags -Wno-c++11-extensions -Wno-sometimes-uninitialized -Wno-parentheses-equality -Wno-tautological-compare -Wno-self-assign -Wno-deprecated-register -Wno-deprecated -Wno-invalid-source-encoding -Wno-pointer-sign -Wno-parentheses -Wno-enum-conversion  -DNDK_SET_VAR -DNDK_UPSTREAM_LIST -DNDK_SET_VAR  -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../ngx_pagespeed-1.9.32.10-beta/psol/include -I ../ngx_pagespeed-1.9.32.10-beta/psol/include/third_party/chromium/src -I ../ngx_pagespeed-1.9.32.10-beta/psol/include/third_party/google-sparsehash/src -I ../ngx_pagespeed-1.9.32.10-beta/psol/include/third_party/google-sparsehash/gen/arch/linux/x64/include -I ../ngx_pagespeed-1.9.32.10-beta/psol/include/third_party/protobuf/src -I ../ngx_pagespeed-1.9.32.10-beta/psol/include/third_party/re2/src -I ../ngx_pagespeed-1.9.32.10-beta/psol/include/out/Release/obj/gen -I ../ngx_pagespeed-1.9.32.10-beta/psol/include/out/Release/obj/gen/protoc_out/instaweb -I ../ngx_pagespeed-1.9.32.10-beta/psol/include/third_party/apr/src/include -I ../ngx_pagespeed-1.9.32.10-beta/psol/include/third_party/aprutil/src/include -I ../ngx_pagespeed-1.9.32.10-beta/psol/include/third_party/apr/gen/arch/linux/x64/include -I ../ngx_pagespeed-1.9.32.10-beta/psol/include/third_party/aprutil/gen/arch/linux/x64/include -I ../ngx_devel_kit-0.2.19/objs -I objs/addon/ndk -I /usr/local/include/luajit-2.1 -I ../lua-nginx-module-0.9.18/src/api -I ../nginx_upstream_check_module-0.3.0 -I ../pcre-8.37 -I ../libressl-2.2.4/.openssl/include -I objs -I src/http -I src/http/modules -I src/http/v2 -I ../ngx_devel_kit-0.2.19/src -I src/mail -I src/stream \
            -o objs/addon/src/ngx_http_vhost_traffic_status_module.o \
            ../nginx-module-vts/src/ngx_http_vhost_traffic_status_module.c
    ../nginx-module-vts/src/ngx_http_vhost_traffic_status_module.c:904:22: error: adding 'unsigned int' to a string does not append to the string [-Werror,-Wstring-plus-int]
        len = ngx_strlen(ngx_vhost_traffic_status_group_to_string(type));
              ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../nginx-module-vts/src/ngx_http_vhost_traffic_status_module.c:341:30: note: expanded from macro 'ngx_vhost_traffic_status_group_to_string'
        : "NO\0UA\0UG\0CC\0FG\0" + 3 * n                                           \
                                 ^
    src/core/ngx_string.h:61:51: note: expanded from macro 'ngx_strlen'
    #define ngx_strlen(s)       strlen((const char *) s)
                                                      ^
    ../nginx-module-vts/src/ngx_http_vhost_traffic_status_module.c:904:22: note: use array indexing to silence this warning
    ../nginx-module-vts/src/ngx_http_vhost_traffic_status_module.c:341:30: note: expanded from macro 'ngx_vhost_traffic_status_group_to_string'
        : "NO\0UA\0UG\0CC\0FG\0" + 3 * n                                           \
                                 ^
    src/core/ngx_string.h:61:51: note: expanded from macro 'ngx_strlen'
    #define ngx_strlen(s)       strlen((const char *) s)
                                                      ^
    ../nginx-module-vts/src/ngx_http_vhost_traffic_status_module.c:915:23: error: adding 'unsigned int' to a string does not append to the string [-Werror,-Wstring-plus-int]
        p = ngx_cpymem(p, ngx_vhost_traffic_status_group_to_string(type), len);
            ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../nginx-module-vts/src/ngx_http_vhost_traffic_status_module.c:341:30: note: expanded from macro 'ngx_vhost_traffic_status_group_to_string'
        : "NO\0UA\0UG\0CC\0FG\0" + 3 * n                                           \
                                 ^
    src/core/ngx_string.h:103:60: note: expanded from macro 'ngx_cpymem'
    #define ngx_cpymem(dst, src, n)   (((u_char *) memcpy(dst, src, n)) + (n))
                                                               ^
    ../nginx-module-vts/src/ngx_http_vhost_traffic_status_module.c:915:23: note: use array indexing to silence this warning
    ../nginx-module-vts/src/ngx_http_vhost_traffic_status_module.c:341:30: note: expanded from macro 'ngx_vhost_traffic_status_group_to_string'
        : "NO\0UA\0UG\0CC\0FG\0" + 3 * n                                           \
                                 ^
    src/core/ngx_string.h:103:60: note: expanded from macro 'ngx_cpymem'
    #define ngx_cpymem(dst, src, n)   (((u_char *) memcpy(dst, src, n)) + (n))
                                                               ^
    2 errors generated.
    make[1]: *** [objs/addon/src/ngx_http_vhost_traffic_status_module.o] Error 1
    make[1]: Leaving directory `/svr-setup/nginx-1.9.7'
    make: *** [install] Error 2
     
    Last edited: Nov 23, 2015