Sha256: f88357eb81a3863b12916dd8a8c638c4a7393c43dab76dda42498ae71e204b68
Contents?: true
Size: 497 Bytes
Versions: 18
Compression:
Stored size: 497 Bytes
Contents
# Rails asset pipeline support. location ~ "^/assets/.+-([0-9a-f]{32}|[0-9a-f]{64})\..+" { error_page 490 = @static_asset; error_page 491 = @dynamic_request; recursive_error_pages on; if (-f $request_filename) { return 490; } if (!-f $request_filename) { return 491; } } location @static_asset { gzip_static on; expires max; add_header Cache-Control public; add_header ETag ""; } location @dynamic_request { passenger_enabled on; }
Version data entries
18 entries across 18 versions & 2 rubygems