Join the community 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

    58,892
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:44 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:
    5:44 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

    58,892
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:44 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