Hello,
I’m experiencing an issue on my HestiaCP server where pages on my website download as .gz
files rather than rendering in the browser. Here’s an overview of my setup:
- Control Panel: HestiaCP
- Web Server Configuration: Apache for PHP, Nginx as a reverse proxy
- PHP Setup: PHP-FPM with PHP 8.2
- Proxy Template:
hosting
- Caching Plugins: W3 Total Cache (W3TC) and FlyingPress on WordPress
Problem Details:
When either W3 Total Cache or FlyingPress caching plugins are active, accessing a page on my site results in downloading a .gz
file instead of displaying the page content. Disabling both caching plugins seems to resolve the issue, but I need caching enabled for performance.
Questions:
- Has anyone encountered a similar issue where
.gz
files download instead of pages rendering properly? - Should gzip compression be managed by Nginx, Apache, or handled solely by one of the caching plugins to avoid conflicts?
- Would it help to modify the Proxy Extensions list to exclude
.gz
, or are there recommended settings for avoiding this issue?
Any advice or suggestions would be greatly appreciated. Thank you in advance!