Introduction
By default, ea-nginx caches successful page loads for an hour. If you wish to change that value, you can do so with the following steps.
Procedure
1. Use your favorite text editor to update the file /etc/nginx/ea-nginx/cache.json. The section that needs to be updated says this by default:
"proxy_cache_valid" : { "200 302" : "60m", "404" : "1m" },
Change the 60m to the value you want. In this case, we'll change it to 30m:
"proxy_cache_valid" : { "200 302" : "30m", "404" : "1m" },
2. Run the following command:
/scripts/ea-nginx conf --all
Comments
0 comments
Article is closed for comments.