Exclude HTML from Nginx static cache
Currently HTML is included in the static cache of nginx.
This results in pushing an expires 30 days header on html content request and ignoring htaccess directives.
This is particulary dangerous, since there is no way to purge that cache unless the expiration on nginx is set to 0 for all assets.
James Toothill commented
Agree with this, or an option to allow a user to specify which file extensions are cached (or not) by nginx.. HTML caching is really problematic for users using cloudways for static site hosting.. Especially if you setup any rules in htaccess (e.g redirects) for those html pages, or worse a redirect to force SSL, as the htaccess is skipped when a cached file is served by nginx..