Skip to content

Commit

Permalink
cache up to 6 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
thueske committed Jun 30, 2024
1 parent cddb0c4 commit e5a5d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/nginx/default.conf.template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
perl_modules ${PERL5LIB};
perl_require purge.pm;

fastcgi_cache_path /etc/nginx/cache levels=1:2 keys_zone=WORDPRESS:16m max_size=512m inactive=2h use_temp_path=off;
fastcgi_cache_path /etc/nginx/cache levels=1:2 keys_zone=WORDPRESS:16m max_size=512m inactive=6h use_temp_path=off;
fastcgi_cache_key "$scheme$request_method$host$request_uri";
fastcgi_ignore_headers Cache-Control Expires Set-Cookie;

Expand Down

0 comments on commit e5a5d28

Please sign in to comment.