Created
May 20, 2013 14:36
-
-
Save saml/5612625 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
http { | |
proxy_cache_path /var/www/cache levels=2:2 keys_zone=default:30m inactive=24h max_size=1024m; | |
proxy_temp_path /var/www/tmp; | |
proxy_buffers 8 256k; | |
proxy_buffer_size 128k; | |
proxy_busy_buffers_size 256k; | |
server { | |
location /proxy/graph.facebook.com/ { | |
proxy_cache default; | |
proxy_cache_valid 200 4h; | |
proxy_ignore_headers X-Accel-Expires Expires Cache-Control; | |
proxy_pass https://graph.facebook.com/; | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment