<Directory <%= @images_dir %>>
RewriteEngine on
RewriteBase "/images/"
RewriteRule "^thumb/(\w+)/(\w+)/.*/qlow-(\d+)px-(.*\.jpg)" "http://127.0.0.1:8888/unsafe/$3x/filters:quality(40):sharpen(0.6,0.01,false)/<%= @server_url %>/images/$1/$2/$4" [P]
RewriteRule "^thumb/(\w+)/(\w+)/.*/(\d+)px-(.*\.jpg)" "http://127.0.0.1:8888/unsafe/$3x/filters:quality(87):sharpen(0.6,0.01,false)/<%= @server_url %>/images/$1/$2/$4" [P]
RewriteRule "^thumb/(\w+)/(\w+)/.*/(\d+)px-(.*\.png)" "http://127.0.0.1:8888/unsafe/$3x/<%= @server_url %>/images/$1/$2/$4" [P]
</Directory>
<Directory <%= @images_dir %>>
RewriteEngine on
RewriteBase "/images/"
RewriteRule "^thumb/(.*)/qlow-(\d+)px-.*\.jpg" "http://127.0.0.1:8888/unsafe/$2x/filters:quality(40):sharpen(0.6,0.01,false)/<%= @server_url %>/images/$1" [P]
RewriteRule "^thumb/(.*)/(\d+)px-.*\.jpg" "http://127.0.0.1:8888/unsafe/$2x/filters:quality(87):sharpen(0.6,0.01,false)/<%= @server_url %>/images/$1" [P]
RewriteRule "^thumb/(.*)/(\d+)px-.*\.png" "http://127.0.0.1:8888/unsafe/$2x/<%= @server_url %>/images/$1" [P]
</Directory>
Support archived thumbnails in thumbor role
Support archived thumbnails in thumbor role

Bug: T111725
Change-Id: I4cb16b594e923f8381755d4b0e7acba7db823269
