Join the community today
Register Now

Nginx [nginx-announce] nginx-1.7.12

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

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Changes with nginx 1.7.12 07 Apr 2015

    *) Feature: now the "tcp_nodelay" directive works with backend SSL
    connections.

    *) Feature: now thread pools can be used to read cache file headers.

    *) Bugfix: in the "proxy_request_buffering" directive.

    *) Bugfix: a segmentation fault might occur in a worker process when
    using thread pools on Linux.

    *) Bugfix: in error handling when using the "ssl_stapling" directive.
    Thanks to Filipe da Silva.

    *) Bugfix: in the ngx_http_spdy_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. Steve Tozer

    Steve Tozer Member

    70
    42
    18
    Jul 28, 2014
    South Wales, UK
    Ratings:
    +49
    Local Time:
    2:41 AM
    1.91
    10.0.19
    Here we go the upgrade spreeeeeeeeeeeeee :sneaky:
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Done in 136 seconds via centmin.sh menu option 4 :)

    Code:
     tail -1 /root/centminlogs/centminmod_1.2.3-eva2000.08_070415-174450_nginx_upgrade.log
    Total Nginx Upgrade Time: 136.650791821 seconds
    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 Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Re-install ImageMagick PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etc
    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). Exit
    --------------------------------------------------------
    Enter option [ 1 - 23 ] 4
    --------------------------------------------------------
    Custom configure CSF settings...set
    
    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
    **********************************************************************
    * Nginx Update script - Included in Centmin Extras
    * Version: 1.2.3-eva2000.08 - Date: 31/03/2015 - Copyright 2011-2015 CentminMod.com
    **********************************************************************
    This software comes with no warranty of any kind. You are free to use
    it for both personal and commercial use as licensed under the GPL.
    Nginx Upgrade - Would you like to continue? [y/n] y
    
    Install which version of Nginx? (version i.e. 1.7.12}): 1.7.12
    
    
    backup NGINX CONF...
    
    backup NGINX Install Directory /usr/local/nginx...
    
    ---------------------------------------------------------------------------------
    backup of Nginx Install Directory /usr/local/nginx located at /usr/local/nginxbackup/nginxdirbackup/nginx_070415-174450
    ---------------------------------------------------------------------------------
    backup of Nginx CONF located at /usr/local/nginxbackup/confbackup/conf_070415-174450
    ---------------------------------------------------------------------------------
    Code:
    Tue Apr  7 17:47:09 UTC 2015
    Success: Nginx was installed properly
    
    *************************************************
    *************************************************
    * nginx updated
    *************************************************
    
    ccache stats:
    cache directory                     /home/.ccache
    cache hit (direct)                  2464
    cache hit (preprocessed)            1866
    cache miss                          3015
    called for link                      393
    called for preprocessing             602
    compile failed                       167
    preprocessor error                    84
    bad compiler arguments               111
    unsupported source language          108
    autoconf compile/link               1591
    unsupported compiler option           42
    no input file                        282
    files in cache                      5728
    cache size                         159.1 Mbytes
    max cache size                       2.0 Gbytes
     
  4. Steve Tozer

    Steve Tozer Member

    70
    42
    18
    Jul 28, 2014
    South Wales, UK
    Ratings:
    +49
    Local Time:
    2:41 AM
    1.91
    10.0.19
    Nice I have 10 going at the same time lol :eek:
     
  5. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    9:41 PM
    latest
    10
    I'm right behind you lol!
     
  6. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    4:41 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    At the end of the upgrade i can see this:

    Code:
    nginx: [error] open() "/usr/local/nginx/nginx.pid" failed (2: No such file or directory)
    Other than that new update working :)
     
  7. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    4:41 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    And i got on another server also this:

    Code:
    Starting nginx: nginx: [emerg] unknown directive "geoip_country" in /usr/local/nginx/conf/geoip.conf:2
    But i had set geoip=n as i don't need it...

    geoip.conf content:

    Code:
    # SET the path to the .dat file used for determining the visitor's country from the IP-address ###
    geoip_country /usr/share/GeoIP/GeoIP.dat;
    
    # SET the path to the .dat file used for determining the visitor's country from the IP-address ###
    geoip_city /usr/share/GeoIP/GeoLiteCity.dat;
    
    # Set php-fpm geoip variables
    fastcgi_param GEOIP_COUNTRY_CODE $geoip_country_code;
    fastcgi_param GEOIP_COUNTRY_CODE3 $geoip_country_code3;
    fastcgi_param GEOIP_COUNTRY_NAME $geoip_country_name;
    fastcgi_param GEOIP_CITY_COUNTRY_CODE $geoip_city_country_code;
    fastcgi_param GEOIP_CITY_COUNTRY_CODE3 $geoip_city_country_code3;
    fastcgi_param GEOIP_CITY_COUNTRY_NAME $geoip_city_country_name;
    fastcgi_param GEOIP_REGION $geoip_region;
    fastcgi_param GEOIP_CITY $geoip_city;
    fastcgi_param GEOIP_POSTAL_CODE $geoip_postal_code;
    fastcgi_param GEOIP_CITY_CONTINENT_CODE $geoip_city_continent_code;
    fastcgi_param GEOIP_LATITUDE $geoip_latitude;
    fastcgi_param GEOIP_LONGITUDE $geoip_longitude;
    Nginx fail to start :(

    I just comment the :

    Code:
    #geoip_country /usr/share/GeoIP/GeoIP.dat;
    #geoip_city /usr/share/GeoIP/GeoLiteCity.dat;
    and now Nginx is working :)

    It will be great if you can add an automate fix in your script for this :)

    All the above are using the latest beta 02.

    Thanks
     
    Last edited: Apr 9, 2015
  8. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    @pamamolf both errors should of long been fixed in latest .08 beta 02

    first one is probably due to older nginx.conf entry for pid location.. check it's set in nginx.conf to
    Code:
    pid         logs/nginx.pid;
    geoip was fixed at Nginx bug on latest .08 Beta branch? | Centmin Mod Community

    just comment out the line in nginx.conf
    Code:
    #include /usr/local/nginx/conf/geoip.conf;
     
  9. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    4:41 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Ok thanks George :)

    I just comment also this: #pagespeed off;

    All working great now :)
     
    Last edited: Apr 9, 2015
  10. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    you shouldn't need to do that in pagespeed.conf
     
  11. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    4:41 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    This edit is on nginx.conf and you recommend it a few months ago when we had a problem with the new pagespeed version if you remember :)
     
  12. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:41 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    don't think i'd suggest in nginx.conf but maybe main hostname nginx vhost at /usr/local/nginx/conf/conf.d/virtual.conf.

    pagespeed off/on setting has no place in nginx.conf for Centmin Mod
     
  13. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    4:41 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Maybe was my mistake but ok no problem now all working :)
     
  14. rdan

    rdan Well-Known Member

    5,443
    1,402
    113
    May 25, 2014
    Ratings:
    +2,194
    Local Time:
    10:41 AM
    Mainline
    10.2
    Next week is Nginx 1.8.0 ;)