Skip to content

Commit

Permalink
Update config.erb
Browse files Browse the repository at this point in the history
Sprockets 3.x started to use SHA256 digests which are 64 characters in
length (see April 12th in
https://github.com/rails/sprockets/blob/master/CHANGELOG.md).
  • Loading branch information
pkmiec authored and Daniel Knoppel (Phusion) committed Jul 17, 2015
1 parent 84f2f0b commit 1df42bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Release 5.0.15
--------------


* Support SHA256 digests for the Rails asset pipeline, as used by Sprockets 3.x.

Release 5.0.14
--------------
Expand Down
2 changes: 1 addition & 1 deletion resources/templates/standalone/config.erb
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ http {
<% end %>

# Rails asset pipeline support.
location ~ "^/assets/.+-[0-9a-f]{32}\..+" {
location ~ "^/assets/.+-([0-9a-f]{32}|[0-9a-f]{64})\..+" {
error_page 490 = @static_asset;
error_page 491 = @dynamic_request;
recursive_error_pages on;
Expand Down

0 comments on commit 1df42bb

Please sign in to comment.