Hi
Hi
I'm using the incredible Wordpress Plugin Cloudflare Super Page Cache
https://wordpress.org/plugins/wp-cloudflare-page-cache/ and I have to paste following lines into the nginx config files to make it work:
location ~* \.(xml|xsl)$ { add_header Cache-Control "no-cache, no-store, must-revalidate, max-age=0"; expires -1; }
location /robots.txt { add_header Cache-Control "no-cache, no-store, must-revalidate, max-age=0"; expires -1; }
location /wp-cron.php { add_header Cache-Control "no-cache, no-store, must-revalidate, max-age=0"; expires -1; }
location = /wp-content/wp-cloudflare-super-page-cache/---replace-mydomain.com---/debug.log { access_log off; deny all; }
When I paste them into the standard nginx-config template and restart nginx the plugin works great, but I get a 404 on the sitemaps. Any idea why this happens?
Best, Filz