Created
May 9, 2016 19:23
-
-
Save vladyslav2/be3508578e64b93a54bdb0c65014dc0c to your computer and use it in GitHub Desktop.
nginx microcache configution
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
proxy_cache_path /tmp/cache keys_zone=cache:10m levels=1:2 inactive=600s max_size=100m; | |
server { | |
proxy_cache cache; | |
proxy_cache_valid 200 1s; | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment