Want to subscribe to topics you're interested in?
Become a Member

Nginx [nginx-announce] nginx-1.17.0

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, May 22, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    40,624
    9,016
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,883
    Local Time:
    10:41 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Changes with nginx 1.17.0 21 May 2019

    *) Feature: variables support in the "limit_rate" and "limit_rate_after"
    directives.

    *) Feature: variables support in the "proxy_upload_rate" and
    "proxy_download_rate" directives in the stream module.

    *) Change: minimum supported OpenSSL version is 0.9.8.

    *) Change: now the postpone filter is always built.

    *) Bugfix: the "include" directive did not work inside the "if" and
    "limit_except" blocks.

    *) Bugfix: in byte ranges processing.


    --
    Maxim Dounin
    http://nginx.org/
    _______________________________________________
    nginx-announce mailing list
    [email protected]
    http://mailman.nginx.org/mailman/listinfo/nginx-announce

    Continue reading...
     
  2. rdan

    rdan Well-Known Member

    4,549
    1,090
    113
    May 25, 2014
    Ratings:
    +1,591
    Local Time:
    8:41 PM
    Mainline
    10.2
     
    • Like Like x 1
  3. eva2000

    eva2000 Administrator Staff Member

    40,624
    9,016
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,883
    Local Time:
    10:41 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    nice beat me to it :)

    excellent news :)

    looks like nginx 1.17.0 broke compatibility with openresty nginx lua module for stream-lua-nginx (this module isn't enabled by default so most folks won't be affected)
    Code (Text):
            -o objs/addon/src/ngx_stream_lua_util.o \
            ../stream-lua-nginx-module-0.0.7/src/ngx_stream_lua_util.c
    In file included from ../stream-lua-nginx-module-0.0.7/src/ngx_stream_lua_api.c:21:
    ../stream-lua-nginx-module-0.0.7/src/ngx_stream_lua_common.h:27:10: fatal error: ngx_stream.h: No such file or directory
       27 | #include <ngx_stream.h>
          |          ^~~~~~~~~~~~~~
    compilation terminated.
    make[1]: *** [objs/addon/src/ngx_stream_lua_api.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    ../stream-lua-nginx-module-0.0.7/src/ngx_stream_lua_request.c:9:10: fatal error: ngx_stream.h: No such file or directory
        9 | #include <ngx_stream.h>
          |          ^~~~~~~~~~~~~~
    compilation terminated.
    make[1]: *** [objs/addon/src/ngx_stream_lua_request.o] Error 1
    In file included from ../stream-lua-nginx-module-0.0.7/src/ngx_stream_lua_directive.h:20,
                     from ../stream-lua-nginx-module-0.0.7/src/ngx_stream_lua_module.c:22:
    ../stream-lua-nginx-module-0.0.7/src/ngx_stream_lua_common.h:27:10: fatal error: ngx_stream.h: No such file or directory
       27 | #include <ngx_stream.h>
          |          ^~~~~~~~~~~~~~
    compilation terminated.
    make[1]: *** [objs/addon/src/ngx_stream_lua_module.o] Error 1
    In file included from ../stream-lua-nginx-module-0.0.7/src/ngx_stream_lua_directive.c:22:
    ../stream-lua-nginx-module-0.0.7/src/ngx_stream_lua_common.h:27:10: fatal error: ngx_stream.h: No such file or directory
       27 | #include <ngx_stream.h>
          |          ^~~~~~~~~~~~~~
    compilation terminated.
    make[1]: *** [objs/addon/src/ngx_stream_lua_directive.o] Error 1
    In file included from ../stream-lua-nginx-module-0.0.7/src/ngx_stream_lua_contentby.h:20,
                     from ../stream-lua-nginx-module-0.0.7/src/ngx_stream_lua_contentby.c:22:
    ../stream-lua-nginx-module-0.0.7/src/ngx_stream_lua_common.h:27:10: fatal error: ngx_stream.h: No such file or directory
       27 | #include <ngx_stream.h>
          |          ^~~~~~~~~~~~~~
    compilation terminated.
    make[1]: *** [objs/addon/src/ngx_stream_lua_contentby.o] Error 1
    In file included from ../stream-lua-nginx-module-0.0.7/src/ngx_stream_lua_lex.h:19,
                     from ../stream-lua-nginx-module-0.0.7/src/ngx_stream_lua_lex.c:19:
    ../stream-lua-nginx-module-0.0.7/src/ngx_stream_lua_common.h:27:10: fatal error: ngx_stream.h: No such file or directory
       27 | #include <ngx_stream.h>
          |          ^~~~~~~~~~~~~~
    compilation terminated.
    make[1]: *** [objs/addon/src/ngx_stream_lua_lex.o] Error 1
    In file included from ../stream-lua-nginx-module-0.0.7/src/ngx_stream_lua_directive.h:20,
                     from ../stream-lua-nginx-module-0.0.7/src/ngx_stream_lua_util.c:23:
    ../stream-lua-nginx-module-0.0.7/src/ngx_stream_lua_common.h:27:10: fatal error: ngx_stream.h: No such file or directory
       27 | #include <ngx_stream.h>
          |          ^~~~~~~~~~~~~~
    compilation terminated.
    make[1]: *** [objs/addon/src/ngx_stream_lua_util.o] Error 1
    make[1]: Leaving directory `/svr-setup/nginx-1.17.0'
    make: *** [build] Error 2
    
     
    style="display:inline-block;min-width:400px;max-width:970px;width:95%;height:90px" data-ad-client="ca-pub-6669518204467592" data-ad-slot="4024536743" data-ad-format="auto">
  4. eva2000

    eva2000 Administrator Staff Member

    40,624
    9,016
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,883
    Local Time:
    10:41 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Updated 123.09beta01 with fixes for stream-lua-nginx module when you specifically enable the optional openresty lua nginx modules via variable ORESTY_LUANGINX='y'

    with test GCC 9.1.0 compiler
     
    • Like Like x 1
  5. eva2000

    eva2000 Administrator Staff Member

    40,624
    9,016
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,883
    Local Time:
    10:41 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    For folks confused with Nginx mainline 1.17 vs stable 1.16 blog post https://www.nginx.com/blog/nginx-1-16-1-17-released/ and my thread at https://community.centminmod.com/threads/nginx-1-16-1-17-roadmap.17207/

     
  6. negative

    negative Active Member

    297
    30
    28
    Apr 11, 2015
    Ratings:
    +66
    Local Time:
    3:41 PM
    1.9.10
    10.1.11
    I'm afraid about upgrade nginx to 1.17 now because of i saw some threads about that problems after upgrade in here.

    Everything fixed and can i switch to 1.17 without any problem from 1.15 ?

    p.s: using centminmod beta
     
  7. Sunka

    Sunka Well-Known Member

    1,103
    299
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +481
    Local Time:
    2:41 PM
    Nginx 1.15.8
    MariaDB 10.3.12
     
  8. negative

    negative Active Member

    297
    30
    28
    Apr 11, 2015
    Ratings:
    +66
    Local Time:
    3:41 PM
    1.9.10
    10.1.11
    @Sunka Did you upgrade it directly (without any comment out or extra configuration) on centminmod beta?
     
  9. Sunka

    Sunka Well-Known Member

    1,103
    299
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +481
    Local Time:
    2:41 PM
    Nginx 1.15.8
    MariaDB 10.3.12
    I upgrade centmin, then nginx. I did that always

    Code:
    # cat /etc/centminmod/custom_config.inc
    NGINX_LIBBROTLI=y # Brotly extension
    NGXDYNAMIC_BROTLI=y # Brotly dynamic module extension
    NGINX_BROTLIDEP_UPDATE='y' # use the latest tagged version of Google Brotli - http://bit.ly/2S9y3tI
    PHP_MEMCACHE=n # memcache PHP extension
    PHP_MEMCACHED=n # memcached PHP extension
    PHP_PGO='y' # PGO Let It Go - Profile Guided Optimizations for PHP 7
    PHPPGO_INDEXPATH='/home/nginx/domains/pijanitvor.com/public/index.php' # path for PGO training
    AUDITD_ENABLE='y' # Auditd skripta
    RCLONE_ENABLE='y' # Rclone skripta
    NGINX_DEVTOOLSETGCC='y' # umjesto clang ide gcc kompilacija kod nginx
    DEVTOOLSETEIGHT='y' # ide 8.x verzija gcc kompilacije umjesto defaultne 5.x ili 6.x ili 7.x
    #CRYPTO_DEVTOOLSETGCC='y' # newer Intel GCC
    #NGINX_HPACK='y' # enabling HPACK for Nginx
    NGINX_DYNAMICTLS='y' # add Nginx Dynamic TLS Cloudflare Patch - http://bit.ly/2EYzhk7
    NGINXPATCH='y' # add Nginx Dynamic TLS Cloudflare Patch - http://bit.ly/2EYzhk7
    NGINX_GEOIPTWOLITE='y' # GeoIP2 Lite nginx module
    NGXDYNAMIC_GEOIPTWOLITE='y' # GeoIP2 Lite nginx module
    ENABLE_MARIADBTENTHREEUPGRADE='y' # enabling upgrade MariaDB from 10.2.x to 10.3.x
    #MARCH_TARGETNATIVE='n' # potrebno da ne zblesira nginx kod reboota servera - http://bit.ly/2SlX3hd
    MARCH_TARGETNATIVE_ALWAYS='y' #za sada ovo gore disableano a ovo omoguceno - http://bit.ly/2VODBHf
    PHP_ARGON='y' # potrebno za bolji hash algoritam passworda na xenforu
    PHP_BROTLI='y' # brotli php extension https://github.com/kjdev/php-ext-brotli
    PHP_LZFOUR='y' # lz4 php extension https://github.com/kjdev/php-ext-lz4
    PHP_LZF='y' # lzf php extension https://github.com/php/pecl-file_formats-lzf php-ext-lzf
    PHP_ZSTD='y' # zstd php extension https://github.com/kjdev/php-ext-zstd
    #AUTODETECPHP_OVERRIDE='y' # recompile php exensions on minor php (aka 7.3.x) upgrade 
     
  10. pamamolf

    pamamolf Premium Member Premium Member

    3,346
    318
    83
    May 31, 2014
    Ratings:
    +593
    Local Time:
    3:41 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Dynamic TLS and hpack for this version ?
     
    Last edited: May 24, 2019