Skip to content

Commit

Permalink
test sending accept-ranges header with nginx unit
Browse files Browse the repository at this point in the history
  • Loading branch information
Giraffaman committed Mar 12, 2024
1 parent 17e66f5 commit c97619a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .docker/run.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
'`/app/data/${uri.replace(/_(thumbs|images)\\/(..)(.*?)\\/.*/, "$1/$2/$2$3")}`'
],
"response_headers" => [
"Cache-Control" => "public, max-age=31556926"
"Cache-Control" => "public, max-age=31556926",
"Accept-Ranges" => "bytes"
]
]
],
Expand All @@ -55,7 +56,8 @@
"!"
],
"response_headers" => [
"Cache-Control" => "public, max-age=31556926"
"Cache-Control" => "public, max-age=31556926",
"Accept-Ranges" => "bytes"
],
"fallback" => [
"pass" => "applications/shimmie"
Expand Down

0 comments on commit c97619a

Please sign in to comment.