Skip to content

Commit

Permalink
Lower nginx cache size to 4gb (#3419)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicky-g authored Jul 11, 2022
1 parent c146823 commit 266daac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion creator-node/nginx_conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ http {
# manager, regardless whether or not it has expired.
# https://www.nginx.com/blog/nginx-caching-guide#How-to-Set-Up-and-Configure-Basic-Caching
proxy_cache_path /usr/local/openresty/cache levels=1:2 keys_zone=cidcache:1000m
max_size=10g inactive=12h use_temp_path=off;
max_size=4g inactive=12h use_temp_path=off;
proxy_read_timeout 3600; # 1 hour in seconds

server {
Expand Down

0 comments on commit 266daac

Please sign in to comment.