Welcome to Centmin Mod Community
Register Now

Nginx Nginx 1.11.13 Released

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

  1. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    10:20 AM
    Nginx 1.13.x
    MariaDB 5.5
    Nginx 1.11.13 is released with many bug fixes http://nginx.org/en/CHANGES

    Code (Text):
    dynamic modules include file /usr/local/nginx/conf/dynamic-modules.conf
    -rw-r--r--. 1 root root 152 Apr  4 15:44 /usr/local/nginx/conf/dynamic-modules.conf
    
    load_module "modules/ngx_http_image_filter_module.so";
    load_module "modules/ngx_http_fancyindex_module.so";
    load_module "modules/ngx_stream_module.so";
    
    dynamic module directory at /usr/local/nginx/modules
    total 1.1M
    drwxr-xr-x.  2 root root 4.0K Apr  4 15:45 .
    drwxr-xr-x. 11 root root 4.0K Apr  4 08:16 ..
    -rwxr-xr-x.  1 root root  52K Apr  4 15:45 ngx_http_fancyindex_module.so
    -rwxr-xr-x.  1 root root  52K Apr  4 14:20 ngx_http_fancyindex_module.so.old
    -rwxr-xr-x.  1 root root  51K Apr  4 15:45 ngx_http_image_filter_module.so
    -rwxr-xr-x.  1 root root  51K Apr  4 14:20 ngx_http_image_filter_module.so.old
    -rwxr-xr-x.  1 root root 428K Apr  4 15:45 ngx_stream_module.so
    -rwxr-xr-x.  1 root root 428K Apr  4 14:20 ngx_stream_module.so.old
    
    backup dynamic modules to /usr/local/nginx/modules.copy
    total 1.1M
    drwxr-xr-x.  2 root root 4.0K Apr  4 08:16 .
    drwxr-xr-x. 11 root root 4.0K Apr  4 08:16 ..
    -rwxr-xr-x.  1 root root  52K Apr  4 15:45 ngx_http_fancyindex_module.so
    -rwxr-xr-x.  1 root root  52K Apr  4 14:20 ngx_http_fancyindex_module.so.old
    -rwxr-xr-x.  1 root root  51K Apr  4 15:45 ngx_http_image_filter_module.so
    -rwxr-xr-x.  1 root root  51K Apr  4 14:20 ngx_http_image_filter_module.so.old
    -rwxr-xr-x.  1 root root 428K Apr  4 15:45 ngx_stream_module.so
    -rwxr-xr-x.  1 root root 428K Apr  4 14:20 ngx_stream_module.so.old
    log files saved at /root/centminlogs
    -rw-r--r--. 1 root root 4.6K Apr  4 15:43 patch_opensslpatches_040417-154335.log
    -rw-r--r--. 1 root root   44 Apr  4 15:44 centminmod_opensslinstalltime_040417-154335.log
    -rw-r--r--. 1 root root    0 Apr  4 15:44 patch_patchnginx_040417-154335.log
    -rw-r--r--. 1 root root 1.3K Apr  4 15:44 nginx-configure-040417-154335.log
    -rw-r--r--. 1 root root  22K Apr  4 15:45 nginx_autoconf.err.040417-154335.log
    -rw-r--r--. 1 root root 3.0M Apr  4 15:45 centminmod_1.2.3-eva2000.09.004_040417-154335_nginx_upgrade.log
    
     
    • Like Like x 3
  2. Sunka

    Sunka Active Member

    917
    240
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +388
    Local Time:
    2:20 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    Nice

    Code (Text):
    Total Nginx Upgrade Time: 120.993519921 seconds


     
    • Like Like x 1
  3. pamamolf

    pamamolf Well-Known Member

    2,720
    242
    63
    May 31, 2014
    Ratings:
    +433
    Local Time:
    3:20 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Using latest beta 09 (just updated)

    Line one there is :

    On previous upgrades was ok and working with no issues.....

    For now i just comment it and it works but it will be good to have a fix for this :)


    I got also a few :

    and this one:

    and this one:

    I know that i can ignore some of them or all of them with no issues but i am just reporting them in case that you want to do any related adjustments :)
     
    Last edited: Apr 5, 2017
  4. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    10:20 AM
    Nginx 1.13.x
    MariaDB 5.5
    vhost stats error is because I changed 123.09beta01 to default to disable that nginx module NGINX_VHOSTSTATS='n' https://community.centminmod.com/threads/set-nginx_vhoststats-n-default-in-123-09beta01.10743/ due to a update in nginx-module-vts breaking compatibility. Was going to come back and see if it has been fixed. But NGINX_VHOSTSTATS='n' should of properly auto disabled those settings to prevent errors so that is the bug. Seems the auto disable routine references one file path and called include file is another file path

    Code (Text):
    cat: /usr/local/nginx/conf/conf.d/vts_server.conf: No such file or directory
    

    Code (Text):
    cat /usr/local/nginx/conf/vts_server.conf
    #vhost_traffic_status on;
    

    latest 123.09beta01's /usr/local/nginx/conf/nginx.conf references include file at
    Code (Text):
    include /usr/local/nginx/conf/vts_http.conf;
    

    so you must have an old Centmin Mod install referencing /usr/local/nginx/conf/conf.d/vts_server.conf ?


    as to rest those are all cosmetic issues that can be ignored.

    edit: tested NGINX_VHOSTSTATS='y' in persistent config file /etc/centminmod/custom_config.inc and recompile Nginx 1.11.13 via centmin.sh menu option 4 and nginx-module-vts seems to have compiled fine --add-module=../nginx-module-vts
    details for using nginx-module-vts at https://community.centminmod.com/th...t-traffic-statistics-preview-discussion.3022/

    edit /usr/local/nginx/conf/vts_mainserver.conf and whitelist your ISP ip address in 2 places referencing #allow YOURIPADDRESS so it uncomment it (remove front hash and add your ISP ip and restart nginx server
    Code (Text):
    location /vhost_status {
        allow 127.0.0.1;
        #allow YOURIPADDRESS;
        deny all;
        vhost_traffic_status on;
        vhost_traffic_status_display;
        vhost_traffic_status_display_format html;
    }
    
    location = /vhost_status.html {
        allow 127.0.0.1;
        #allow YOURIPADDRESS;
        deny all;
    

    then in web browser access your main hostname's domain which is referenced in Getting Started Guide Step 1 - like host.domain.com/vhost_status

    upload_2017-4-5_9-1-21.png
     
    Last edited: Apr 5, 2017
  5. ahmed

    ahmed Member

    201
    15
    18
    Feb 21, 2017
    Ratings:
    +21
    Local Time:
    2:20 AM
    Code:
    Total Nginx Upgrade Time: 409.258915703 seconds
    
    Code:
    nginx version: nginx/1.11.13
    
    built by clang 3.4.2 (tags/RELEASE_34/dot2-final)
    
    built with OpenSSL 1.1.0e  16 Feb 2017
    
    TLS SNI support enabled
    
    configure arguments: --with-ld-opt='-ljemalloc -Wl,-z,relro -Wl,-rpath,/usr/local/lib' --with-cc-opt='-m64 -mtune=native -mfpmath=sse -g -O3 -fstack-protector -fuse-ld=gold --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wno-sign-compare -Wno-string-plus-int -Wno-deprecated-declarations -Wno-unused-parameter -Wno-unused-const-variable -Wno-conditional-uninitialized -Wno-mismatched-tags -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 -Wno-c++11-compat-deprecated-writable-strings -Wno-write-strings -gsplit-dwarf' --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-http_stub_status_module --with-http_secure_link_module --with-libatomic --with-http_gzip_static_module --add-dynamic-module=../ngx_brotli --with-http_sub_module --with-http_addition_module --with-http_image_filter_module=dynamic --with-http_geoip_module --with-stream_geoip_module --with-stream_realip_module --with-stream_ssl_preread_module --with-threads --with-stream=dynamic --with-stream_ssl_module --with-http_realip_module --add-dynamic-module=../ngx-fancyindex-0.4.0 --add-module=../ngx_cache_purge-2.3 --add-module=../ngx_devel_kit-0.3.0 --add-module=../set-misc-nginx-module-0.31 --add-module=../echo-nginx-module-0.60 --add-module=../redis2-nginx-module-0.13 --add-module=../ngx_http_redis-0.3.7 --add-module=../memc-nginx-module-0.17 --add-module=../srcache-nginx-module-0.31 --add-module=../headers-more-nginx-module-0.32 --with-pcre=../pcre-8.40 --with-pcre-jit --with-zlib=../zlib-1.2.11 --with-http_ssl_module --with-http_v2_module --with-openssl=../openssl-1.1.0e
    I have 3.7gb VPS on google why Im slower on built time?
     
    Last edited: Apr 5, 2017
  6. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    10:20 AM
    Nginx 1.13.x
    MariaDB 5.5
    nginx and php-fpm source compile time depends on mainly cpu clock speed and number of cpu threads and disk I/O performance and to a lesser extent fast and ample memory and memory bandwidth.

    Centmin Mod uses ccache compiler caching so subsequent recompiles of Nginx and PHP-FPM for same versions will be 60-80% faster than first time you compiled for that version i.e. 1.11.13

    i.e. on my OVH Core i7 4790K clocked at 4.0-4.4Ghz with 8 cpu threads on subsequent Nginx 1.11.13 recompiles
    Code (Text):
    Total Nginx Upgrade Time: 63.975361388 seconds
    
     
    • Like Like x 1
  7. ahmed

    ahmed Member

    201
    15
    18
    Feb 21, 2017
    Ratings:
    +21
    Local Time:
    2:20 AM
    I think 1 CPU core is enough for WordPress, is not it?
     
  8. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    10:20 AM
    Nginx 1.13.x
    MariaDB 5.5
    yeah for front side but for nginx and php compiles, the more cpu cores you have faster compiles happen i.e. if you had 2 cpu cores, you'd have at least 40-50% faster compile times.
     
    • Like Like x 1
  9. pamamolf

    pamamolf Well-Known Member

    2,720
    242
    63
    May 31, 2014
    Ratings:
    +433
    Local Time:
    3:20 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Yes it is a very old install of Centminmod :)
     
  10. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    10:20 AM
    Nginx 1.13.x
    MariaDB 5.5
    move /usr/local/nginx/conf/conf.d/vts_server.conf to /usr/local/nginx/conf/vts_http.conf

    and edit /usr/local/nginx/conf/nginx.conf referenced include file
    Code (Text):
    include /usr/local/nginx/conf/vts_http.conf;
    
     
    • Informative Informative x 1
  11. pamamolf

    pamamolf Well-Known Member

    2,720
    242
    63
    May 31, 2014
    Ratings:
    +433
    Local Time:
    3:20 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    That edit was needed at the domain vhost include related line :)
     
  12. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    10:20 AM
    Nginx 1.13.x
    MariaDB 5.5
    you sure ? virtual.conf should only have
    Code (Text):
    include /usr/local/nginx/conf/vts_mainserver.conf;
    

    or you mean even that was different in very old versions ?

    oh you mean nginx vhosts
    Code (Text):
    include /usr/local/nginx/conf/vts_server.conf;
    
     
  13. pamamolf

    pamamolf Well-Known Member

    2,720
    242
    63
    May 31, 2014
    Ratings:
    +433
    Local Time:
    3:20 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    The only reference that i found for vts_server.conf was at my domain vhost config file and not at nginx.conf :)
     
  14. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    10:20 AM
    Nginx 1.13.x
    MariaDB 5.5
    ah so nginx vhost was older heh
     
  15. RoldanLT

    RoldanLT Well-Known Member

    3,899
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    8:20 AM
    1.11
    10.2
    Code:
    nginx version: nginx/1.11.13
    built by gcc 6.2.1 20160916 (Red Hat 6.2.1-3) (GCC)
    built with OpenSSL 1.0.2k  26 Jan 2017
    TLS SNI support enabled
    configure arguments:
    --with-ld-opt='-ljemalloc -Wl,-z,relro -Wl,-rpath,/usr/local/lib'
    --with-cc-opt='-m64 -march=native -g -O3 -fstack-protector-strong -fuse-ld=gold
    --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wno-deprecated-declarations -gsplit-dwarf'
    --sbin-path=/usr/local/sbin/nginx
    --conf-path=/usr/local/nginx/conf/nginx.conf
    --with-http_ssl_module
    --with-http_v2_module
    --with-http_gzip_static_module
    --add-dynamic-module=../ngx_brotli
    --with-openssl=../openssl-1.0.2k
    --with-libatomic
    --with-pcre=../pcre-8.40
    --with-pcre-jit
    --with-zlib=../zlib-1.2.11
     
    • Like Like x 1