FastCGI Cache settings
Hi,
Option to define FastCGI cache for nginx in www-domains would be very appreciated.
23.02.2025 13:20
If you're using ISPConfig and want to define FastCGI cache for Nginx within the www-domains configuration, you currently have to manually edit the Nginx directives or templates. However, adding a built-in option in ISPConfig would be a great feature request.
Workaround for Now
Until this feature is officially added, you can manually configure FastCGI caching in ISPConfig by adding the following directives in the "Nginx Directives" box under your website settings:
nginx
CopyEdit
fastcgi_cache_path /var/cache/nginx levels=1:2 keys_zone=MYCACHE:10m inactive=60m; fastcgi_cache_key "$scheme$request_method$host$request_uri"; server { location ~ \.php$ { fastcgi_pass unix:/run/php/php8.1-fpm.sock; fastcgi_index index.php; include fastcgi.conf; fastcgi_cache MYCACHE; fastcgi_cache_valid 200 60m; fastcgi_cache_use_stale error timeout updating; } }
👉 Replace **/run/php/php8.1-fpm.sock**
with the correct PHP socket path for your server.
Feature Request
If you want this as a built-in ISPConfig option:
Would you like a guide on where to submit the feature request? 🚀
19.03.2025 11:32
ISPConfig https://www.ispconfig.org ? How it is related to our panel ispmanager?
19.03.2025 12:03