Discover Centmin Mod today
Register Now

Beta Branch update /usr/local/nginx/conf/php.conf template in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jan 31, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    59,369
    12,513
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,149
    Local Time:
    3:37 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    update /usr/local/nginx/conf/php.conf template in 123.09beta01

    Ensure fastcgi_keep_conn is set for fresh installs only. Existing installs can add this if they also have updated for https://community.centminmod.com/threads/update-php-fpm-configuration-in-123-09beta01.16530/ so if they have /usr/local/nginx/conf/default_phpupstream.conf include file in /usr/local/nginx/conf/nginx.conf and /usr/local/nginx/conf/php.conf include file has the following

    fastcgi_pass dft_php;
    #fastcgi_pass 127.0.0.1:9000;


    Continue reading...

    123.09beta01 branch
     
  2. rdan

    rdan Well-Known Member

    5,452
    1,418
    113
    May 25, 2014
    Ratings:
    +2,212
    Local Time:
    1:37 AM
    Mainline
    10.2
    From this article:
    Avoiding the Top 10 NGINX Configuration Mistakes - NGINX

    Does it also apply to CMM?
    Even if it's not proxy_pass.
     
  3. eva2000

    eva2000 Administrator Staff Member

    59,369
    12,513
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,149
    Local Time:
    3:37 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    That only applies to proxy_pass as outlined there. You don't set proxy_* directives for fastcgi