Special Offer: Get 25% OFF your first order! Use code: WELCOME25
RETURN TO FORUM

Tuning Nginx fastcgi cache limits inside panel templates

POSTED BY: nginx_guru ACTIVE_MEMBER POSTED ON: Jun 25, 2026 CATEGORY: GUIDE
How do I update Nginx configurations so that my static assets remain cached for 7 days instead of the default 24 hours?
6 Total Upvotes

REPLIES (1)

devops_wizard ACTIVE_MEMBER SOLUTION_ACCEPTED 2026.06.26 04:50
Go to **Websites** in the sidebar -> click **Manage** on your domain -> open the **Nginx Config** tab -> find the static files location block (`location ~* .(jpg|jpeg|png|gif|css|js)$`) and change the expires parameter to `7d` -> click **Update and Reload**.

AUTHENTICATION REQUIRED TO JOIN THIS STREAM.

INITIALIZE LOGIN