Discover Centmin Mod today
Register Now

Can I request turn on/off variables for this?

Discussion in 'Feature Requests & Suggestions' started by rdan, Sep 23, 2015.

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    2:30 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    NGINX_OPENRESTY='n' <----Is this needed for Letsencrypt free SSL certificate integration?


    And should i use it with the ' or without?
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,564
    12,224
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,793
    Local Time:
    10:30 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    2:30 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Ok i read about this:

    Code:
    ORESTY_HEADERSMORE=y
    but does that need also:

    Code:
    NGINX_OPENRESTY='y'
    ?

    Also what about this?

    Code:
    NGINX_SPDY=n  <--- Why we don't remove this option at all from centmin.sh as now we have http2?
     
    Last edited: Sep 27, 2015
  4. eva2000

    eva2000 Administrator Staff Member

    54,564
    12,224
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,793
    Local Time:
    10:30 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    ORESTY_HEADERSMORE=y is separate and independent of NGINX_OPENRESTY='y' :)

    NGINX_SPDY is still available as some folks may downgrade to below Nginx 1.9.3-1.9.5 :)
     
  5. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    2:30 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Ok great and one last question :)

    if i create this:
    Code:
    /etc/centminmod/php.d/b_customphp.ini
    and add inside only the:

    Code:
    session.save_handler = memcached
    session.save_path = "127.0.0.1:11211"
    Centminmod will use the existing settings e.x (memory_limit = 160M, max_execution_time = 60) from /etc/centminmod/php.d/a_customphp.ini plus my two extra settings from /etc/centminmod/php.d/b_customphp.ini or b_customphp.ini overwrites the a_customphp.ini?

    Can Centminmod be able to replace a commented value for example:

    Code:
    ;session.save_path = "/tmp"
    with my:

    Code:
    session.save_path = "127.0.0.1:11211"
    ?
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,564
    12,224
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,793
    Local Time:
    10:30 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yup
    the later in custom b_customphp.ini will override anything set before it even if commented out
     
  7. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    2:30 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Can i also set my custom server string on /etc/centminmod/custom_config.inc ?

    Code:
    CUSTOMSERVERSTRING='nginx centminmod'
    These will work like this ?

    Code:
    NGINX_OPENRESTY='n'
    ORESTY_LUANGINX='n'
    PHPREDIS='n'
    or better like this?

    Code:
    NGINX_OPENRESTY=n
    ORESTY_LUANGINX=n
    PHPREDIS=n
     
    Last edited: Sep 27, 2015
  8. eva2000

    eva2000 Administrator Staff Member

    54,564
    12,224
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,793
    Local Time:
    10:30 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    No that is set in nginx.conf itself now

    as to single quote or not both same thing
     
  9. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    2:30 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    If i am not wrong this one has priority from nginx.conf:

    Code:
    more_set_headers "Server: nginx centminmod";
    and overwrite this from centmin.sh:
    Code:
    CUSTOMSERVERSTRING='nginx centminmod'
    and if this is true why we don't remove the CUSTOMSERVERSTRING= from centmin.sh?
     
    Last edited: Sep 27, 2015
  10. eva2000

    eva2000 Administrator Staff Member

    54,564
    12,224
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,793
    Local Time:
    10:30 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    just legacy code heh
     
  11. rdan

    rdan Well-Known Member

    5,446
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    8:30 PM
    Mainline
    10.2
    Please do not remove, I'm still using it ;)
     
  12. eva2000

    eva2000 Administrator Staff Member

    54,564
    12,224
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,793
    Local Time:
    10:30 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah if you remove or comment out more_set_header in nginx.conf, you can use the legacy one in centmin.sh :)