Learn about Centmin Mod LEMP Stack today
Register Now

Beta Branch Update centmin.sh and inc/nginx_configure.inc add additional variables

Discussion in 'Centmin Mod Github Commits' started by eva2000, Sep 23, 2015.

  1. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    3:44 AM
    Nginx 1.13.x
    MariaDB 5.5
    Update centmin.sh and inc/nginx_configure.inc add additional variables

    Added additional variables in centmin.sh to allow finer grain control of which Nginx modules are installed with Nginx. The below centmin.sh variables are all enabled by default. You can disable via editing centmin.sh and setting variable to =n instead of =y. Even better to allow the changes to use persist on Centmin Mod updates you can bypass the centmin.sh edit and use a persistent configuration file outlined at http://centminmod.com/upgrade.html - create file at /etc/centminmod/custom_config.inc and add to it below variable(s) with desired =n or =y defaults and then recompile Nginx via centmin.sh menu option 4

    NGINX_STUBSTATUS=y # http://nginx.org/en/docs/http/ngx_http_stub_status_module.html required for nginx statistics
    NGINX_SUB=y # http://nginx.org/en/docs/http/ngx_http_sub_module.html
    NGINX_ADDITION=y # http://nginx.org/en/docs/http/ngx_http_addition_module.html
    NGINX_IMAGEFILTER=y # http://nginx.org/en/docs/http/ngx_http_image_filter_module.html
    NGINX_CACHEPURGE=y # https://github.com/FRiCKLE/ngx_cache_purge/
    NGINX_HTTPCONCAT=y # https://github.com/alibaba/nginx-http-concat
    NGINX_THREADS=y # https://www.nginx.com/blog/thread-pools-boost-performance-9x/
    ORESTY_HEADERSMORE=y # openresty headers more https://github.com/openresty/headers-more-nginx-module

    Continue reading...

    123.09beta01 branch