Changed clear cache time to month
This commit is contained in:
parent
cbbf990802
commit
a8e06f240b
2 changed files with 2 additions and 1 deletions
|
@ -2123,6 +2123,7 @@ while [ "${WHILE}" -lt "2" ]; do
|
|||
>>/var/log/docker_logrotate_"$(date '+%d_%m_%Y')".log 2>&1
|
||||
find /var/log -type f -name '*.gz' -exec rm -rf {} \; \
|
||||
>>/var/log/docker_logrotate_"$(date '+%d_%m_%Y')".log 2>&1
|
||||
rm -rf /var/ngx_pagespeed_cache/*
|
||||
if [ "${CP_OS}" != "alpine" ] && [ "${CP_OS}" != "\"alpine\"" ]; then
|
||||
docker restart nginx >>/var/log/docker_logrotate_"$(date '+%d_%m_%Y')".log 2>&1
|
||||
docker restart fail2ban >>/var/log/docker_logrotate_"$(date '+%d_%m_%Y')".log 2>&1
|
||||
|
|
|
@ -2,7 +2,7 @@ pagespeed on;
|
|||
pagespeed RespectXForwardedProto on;
|
||||
pagespeed FileCachePath /var/ngx_pagespeed_cache;
|
||||
pagespeed FileCacheSizeKb 1024000;
|
||||
pagespeed FileCacheCleanIntervalMs 31536000000;
|
||||
pagespeed FileCacheCleanIntervalMs 2628000000;
|
||||
pagespeed FileCacheInodeLimit 500000;
|
||||
pagespeed EnableFilters collapse_whitespace;
|
||||
pagespeed EnableFilters remove_comments;
|
||||
|
|
Loading…
Reference in a new issue