Join the community today
Become a Member

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

    3,950
    402
    83
    May 31, 2014
    Ratings:
    +782
    Local Time:
    5:05 AM
    Nginx-1.17.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

    47,461
    10,759
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,715
    Local Time:
    1:05 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
  3. pamamolf

    pamamolf Premium Member Premium Member

    3,950
    402
    83
    May 31, 2014
    Ratings:
    +782
    Local Time:
    5:05 AM
    Nginx-1.17.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

    47,461
    10,759
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,715
    Local Time:
    1:05 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    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

    3,950
    402
    83
    May 31, 2014
    Ratings:
    +782
    Local Time:
    5:05 AM
    Nginx-1.17.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

    47,461
    10,759
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,715
    Local Time:
    1:05 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    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

    3,950
    402
    83
    May 31, 2014
    Ratings:
    +782
    Local Time:
    5:05 AM
    Nginx-1.17.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

    47,461
    10,759
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,715
    Local Time:
    1:05 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    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

    3,950
    402
    83
    May 31, 2014
    Ratings:
    +782
    Local Time:
    5:05 AM
    Nginx-1.17.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

    47,461
    10,759
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,715
    Local Time:
    1:05 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    just legacy code heh
     
  11. rdan

    rdan Well-Known Member

    5,100
    1,264
    113
    May 25, 2014
    Ratings:
    +1,931
    Local Time:
    11:05 AM
    Mainline
    10.2
    Please do not remove, I'm still using it ;)
     
  12. eva2000

    eva2000 Administrator Staff Member

    47,461
    10,759
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,715
    Local Time:
    1:05 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    yeah if you remove or comment out more_set_header in nginx.conf, you can use the legacy one in centmin.sh :)