• Discussion
  • Set a default template for the web 'Configuration file'?

Hi. Is it possible for me to change the default template that's used when creating websites? It has an expires of 30 days, when I want 365 days + more files.... i.e. like so:

	location ~ .*\.(ico|css|gif|jpe?g|png|gz|zip|flv|rar|wmv|avi|css|js|swf|png|htc|mpeg|mpg|txt|otf|ttf|eot|woff|svg|webp)$ {
	   expires     365d;
	   fastcgi_hide_header "Set-Cookie";
	   add_header  Cache-Control "public";
	}

    SS88
    you can edit in /www/server/panel/class/panelSite.py line 2543 and line 2573
    the panel must be reload when your changes are complete.

    • SS88 replied to this.
      Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com