Skip to content

Instantly share code, notes, and snippets.

@MatthewDaniels
Created May 20, 2016 01:31
Show Gist options
  • Save MatthewDaniels/4b42a259f32e214a1fda744d06faa298 to your computer and use it in GitHub Desktop.
Save MatthewDaniels/4b42a259f32e214a1fda744d06faa298 to your computer and use it in GitHub Desktop.
Nginx Standard Cache Conf: Store this file in /etc/nginx/conf.d and include in standard server directive
# Proxy Cache Settings
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=reverse_cache:60m inactive=90m max_size=1000m;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment