Join the community today
Become a Member

Nginx [nginx-announce] nginx-1.13.4

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Aug 9, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    28,952
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    10:48 PM
    Nginx 1.13.x
    MariaDB 5.5
    Changes with nginx 1.13.4 08 Aug 2017

    *) Feature: the ngx_http_mirror_module.

    *) Bugfix: client connections might be dropped during configuration
    testing when using the "reuseport" parameter of the "listen"
    directive on Linux.

    *) Bugfix: request body might not be available in subrequests if it was
    saved to a file and proxying was used.

    *) Bugfix: cleaning cache based on the "max_size" parameter did not work
    on Windows.

    *) Bugfix: any shared memory allocation required 4096 bytes on Windows.

    *) Bugfix: nginx worker might be terminated abnormally when using the
    "zone" directive inside the "upstream" block on Windows.


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

    Continue reading...
     
    • Like Like x 1
  2. Jimmy

    Jimmy Premium Member Premium Member

    1,025
    231
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +555
    Local Time:
    8:48 AM
    1.13.x
    MariaDB 10.1.x
    Does not like:

    NGINX_PAGESPEED='y'
     
    • Informative Informative x 1
  3. eva2000

    eva2000 Administrator Staff Member

    28,952
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    10:48 PM
    Nginx 1.13.x
    MariaDB 5.5
    hmm confirmed nginx 1.13.4 broke ngx_pagespeed compatibility - for now stay on 1.13.3 until i investigate :)

    in 123.09beta01, when enabling ngx_pagespeed (disabled by default) via
    Code (Text):
    NGXDYNAMIC_NGXPAGESPEED='y'
    NGINX_PAGESPEED='y'
    

    results in
    Code (Text):
    objs/ngx_stream_module_modules.o \
    -lrt -ljemalloc -Wl,-z,relro -Wl,-rpath,/usr/local/lib \
    -shared
    ../ngx_pagespeed-1.12.34.2-beta/src/ngx_pagespeed.cc: In function ‘ngx_int_t net_instaweb::{anonymous}::ps_preaccess_handler(ngx_http_request_t*)’:
    ../ngx_pagespeed-1.12.34.2-beta/src/ngx_pagespeed.cc:3011:31: error: ‘ngx_http_core_try_files_phase’ was not declared in this scope
       while (ph[i + 1].checker != ngx_http_core_try_files_phase &&
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[1]: *** [objs/addon/src/ngx_pagespeed.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    make[1]: Leaving directory `/svr-setup/nginx-1.13.4'
    make: *** [build] Error 2
    


    submitted bug report at nginx 1.13.4 ‘ngx_http_core_try_files_phase’ was not declared in this scope · Issue #1451 · pagespeed/ngx_pagespeed · GitHub

    update: fixed Nginx - [nginx-announce] nginx-1.13.4
     
    Last edited: Aug 12, 2017 at 8:52 AM
    • Informative Informative x 2
  4. bassie

    bassie Active Member

    494
    104
    43
    Apr 29, 2016
    Ratings:
    +312
    Local Time:
    2:48 PM
    Pagespeed could be game over.
    No release after +-8 months (latest stable is the same beta as of December 2 2016).

    Plus the most important thing. There is absolutely no reason to use pagespeed as there are better options to pre- optimize your content.
    For example:

    Kraken Image Optimizer
    MinifyResources
     
  5. eva2000

    eva2000 Administrator Staff Member

    28,952
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    10:48 PM
    Nginx 1.13.x
    MariaDB 5.5
    well i hope not - fingers crossed

    on the fly image optimisation and tailored to device mobile vs non-mobile is one of my fav features :)

    last commit was June 28 so not far off Commits · pagespeed/ngx_pagespeed · GitHub
     
  6. eva2000

    eva2000 Administrator Staff Member

    28,952
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    10:48 PM
    Nginx 1.13.x
    MariaDB 5.5
    already got reply from ngx_pagespeed folks in bug report
     
    • Like Like x 1
  7. bassie

    bassie Active Member

    494
    104
    43
    Apr 29, 2016
    Ratings:
    +312
    Local Time:
    2:48 PM
    • Informative Informative x 1
  8. eva2000

    eva2000 Administrator Staff Member

    28,952
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    10:48 PM
    Nginx 1.13.x
    MariaDB 5.5
    yup awesome guy :)

    new nginx module added in 1.13.4 is interesting Module ngx_http_mirror_module

    could get very creative with this feature :D
     
    • Like Like x 1
  9. bassie

    bassie Active Member

    494
    104
    43
    Apr 29, 2016
    Ratings:
    +312
    Local Time:
    2:48 PM
    device mobile vs non-mobile? You are using Pagespeed to determine if the visitor is on mobile or non mobile (desktop) so pagespeed can optimize pictures etc for mobile of desktop?
     
  10. eva2000

    eva2000 Administrator Staff Member

    28,952
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    10:48 PM
    Nginx 1.13.x
    MariaDB 5.5
    yup i have separate optimised image settings one for desktop and one for mobile so that mobile users get faster loading pages - been doing this for years now with ngx_pagespeed :)
     
    • Informative Informative x 1
  11. eva2000

    eva2000 Administrator Staff Member

    28,952
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    10:48 PM
    Nginx 1.13.x
    MariaDB 5.5
    for folks not using ngx_pagespeed (which is default disabled in centmin mod), 1.13.4 updates fine via centmin.sh menu option 4
     
  12. Sunka

    Sunka Active Member

    888
    230
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +376
    Local Time:
    2:48 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    yep

     
    • Like Like x 1
  13. Jimmy

    Jimmy Premium Member Premium Member

    1,025
    231
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +555
    Local Time:
    8:48 AM
    1.13.x
    MariaDB 10.1.x
    FYI once you update to 1.13.4 w/ pagespeed and it fails, you can't go back to 1.13.3 and use pagespeed. I tried and got an error with 1.13.3 when I tried to downgrade w/ pagespeed.
     
  14. RoldanLT

    RoldanLT Well-Known Member

    3,828
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,257
    Local Time:
    8:48 PM
    1.11
    10.2
    Even if you delete all the contents on /svr_setup/* ?
     
  15. Jimmy

    Jimmy Premium Member Premium Member

    1,025
    231
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +555
    Local Time:
    8:48 AM
    1.13.x
    MariaDB 10.1.x
    Maybe, I didn't try that. I ended up just commenting out the pagespeed line in the nginx.conf
     
  16. eva2000

    eva2000 Administrator Staff Member

    28,952
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    10:48 PM
    Nginx 1.13.x
    MariaDB 5.5
    strange worked fine here.

     
  17. Jimmy

    Jimmy Premium Member Premium Member

    1,025
    231
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +555
    Local Time:
    8:48 AM
    1.13.x
    MariaDB 10.1.x
    Oh, you know, now that I think about it, I removed it from the custom_config. That was the issue. So when I downgraded and didn't compile with pagespeed, it gave me an error using 1.13.3 because of the line in the nginx.conf. :wacky:
     
    Last edited: Aug 9, 2017
  18. eva2000

    eva2000 Administrator Staff Member

    28,952
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    10:48 PM
    Nginx 1.13.x
    MariaDB 5.5
    centmin actual auto detects and disables/enables nginx.conf related pagespeed when you don't set the variables so that shouldn't have happened either

    unless you mean you removed nginx.conf related pagespeed options manually?
     
    • Informative Informative x 1
  19. Jimmy

    Jimmy Premium Member Premium Member

    1,025
    231
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +555
    Local Time:
    8:48 AM
    1.13.x
    MariaDB 10.1.x
    I commented out the pagespeed line in the nginx.conf.

    I'm off to bed, I'll test it tomorrow and see if what you said it should do happens.
     
    • Like Like x 1
  20. bassie

    bassie Active Member

    494
    104
    43
    Apr 29, 2016
    Ratings:
    +312
    Local Time:
    2:48 PM