Skip to content

Instantly share code, notes, and snippets.

@reset
Created July 14, 2011 08:54
Show Gist options
  • Save reset/1082125 to your computer and use it in GitHub Desktop.
Save reset/1082125 to your computer and use it in GitHub Desktop.
upstream enmasse_online_mogilefs {
server 10.0.2.15:7001;
server 10.0.2.16:7001;
}
location /datastore/videos/ {
access_log off;
expires 365d;
mogilefs_domain enmasse_online_development;
mogilefs_tracker http://enmasse_online_mogilefs;
mogilefs_class video;
mogilefs_methods GET;
mogilefs_pass {
proxy_pass $mogilefs_path;
proxy_hide_header Content-Type;
proxy_buffering off;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment