Exclude specific static content/file types from Nginx cache
SUGGESTION: Add Function/Button to SERVER or APP Dashboard to exclude specific static filetypes from being served by the Nginx server / static cache
USE CASE: Membership Websites or Knowledge Management Site have the need of protecting access to specific static content. For example, certain Pdf-documents, Excel-Sheets, etc.
We currently manage access to such files via a Wordpress membership plugin. However the plugin / htaccess gets bypassed by the Nginx cache.
Cloudways support can implement such file exclusions from Nginx literally within seconds. But it seems that their settings/override gets reset at certain intervals (perhaps by server maintenance or restarts.)
1
vote
