Learn about Centmin Mod LEMP Stack today
Become a Member

Stable Branch fix WordPress fastcgi_cache migration for sites with fastcgi_keep_con…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 20, 2026 at 8:54 AM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,551
    12,627
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,292
    Local Time:
    12:44 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix WordPress fastcgi_cache migration for sites with fastcgi_keep_conn on in 132.00stable


    wp_config_update() only adds the $http_authorization cache bypass to a
    php-fastcgicache.conf that matches the menu 22 template. The template now
    has fastcgi_keep_conn commented out, so sites that still had it on were
    skipped as customized until a menu 4 nginx upgrade commented it out, and
    never with NGINX_ALLOWOVERRIDE='n'.

    Changes:
    - inc/cpcheck.inc variants(): also match the template with
    fastcgi_keep_conn on; the staged file keeps the site's own keep_conn line
    - tools/test-wordpress-config.py: add a legacy fastcgi_keep_conn on
    migration case

    Continue reading...

    132.00stable branch