Get the most out of your Centmin Mod LEMP stack
Become a Member

Master Branch disable nginx webP for Cloudflare in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Mar 25, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    43,579
    9,885
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,265
    Local Time:
    8:02 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    disable nginx webP for Cloudflare in 123.09beta01

    - Disable Centmin Mod Nginx .webp auto detection/serving when Cloudflare is detected as CF Free plan doesn't support due to Cloudflare cache ignoring Vary header and with CF paid plans you won't need Centmin Mod Nginx .webp origin support as CF plaid plans have Polish which can enable on the fly webP conversion anyway https://community.centminmod.com/threads/playing-with-ewww-image-optimizer-wordpress-plugin.12573/page-3#post-82300.
    - Existings users can update via running cmupdate and then run and exist centmin.sh menu once. This will update include file /usr/local/nginx/conf/webp.conf referenced in nginx.conf with the 2nd nginx map for cf-connecting-ip HTTP header.

    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.