Sha256: 1ac52d850c3051d1e5f40369db0ddc769efe557c73e8180d3246c63ccabdde73

Contents?: true

Size: 551 Bytes

Versions: 28

Compression:

Stored size: 551 Bytes

Contents

<% if fetch(:proxy_cache_media) %>
  # Media-Path with NginX-Proxy-Cache
  location ^~ /<%= fetch(:proxy_cache_media_path) %>/ {
    # auth_basic          off;
    proxy_cache           <%= fetch(:proxy_cache_media_name) %>;
    # proxy_cache_lock    on;
    # add_header          X-Cache-Status    $upstream_cache_status;
    # proxy_cache_bypass  $http_bypass_proxy;
    proxy_pass            $scheme://thin_<%= fetch(:application) %>_<%= fetch(:stage) %>_cluster;
    proxy_cache_valid     200  <%= fetch(:proxy_cache_media_time) %>; 
  }
<% end %>

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
magic_recipes_two-0.0.95 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.94 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.93 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.91 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.90 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.89 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.88 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.87 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.86 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.85 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.84 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.83 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.82 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.81 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.80 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.79 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.78 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.77 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.76 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb
magic_recipes_two-0.0.75 lib/generators/capistrano/magic_recipes/templates/nginx/media_cache_server.erb