Skip to content

Commit

Permalink
X-Accel Nginx URL updated
Browse files Browse the repository at this point in the history
Obsolete URL has been updated
  • Loading branch information
shahariaazam authored and nicolas-grekas committed Dec 26, 2019
1 parent 5b932ee commit de7e6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BinaryFileResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public function prepare(Request $request)
}
if ('x-accel-redirect' === strtolower($type)) {
// Do X-Accel-Mapping substitutions.
// @link http://wiki.nginx.org/X-accel#X-Accel-Redirect
// @link https://www.nginx.com/resources/wiki/start/topics/examples/x-accel/#x-accel-redirect
foreach (explode(',', $request->headers->get('X-Accel-Mapping', '')) as $mapping) {
$mapping = explode('=', $mapping, 2);

Expand Down

0 comments on commit de7e6cd

Please sign in to comment.