Created
March 25, 2015 20:50
-
-
Save dashr/bd58b42bd21d27865558 to your computer and use it in GitHub Desktop.
nginx file cache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# File Cache Settings | |
## | |
open_file_cache max=5000 inactive=20s; | |
open_file_cache_valid 30s; | |
open_file_cache_min_uses 2; | |
open_file_cache_errors on; | |
fastcgi_cache_path /var/cache/nginx levels=1:2 keys_zone=microcache:10m max_size=1000m inactive=60m; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment