Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

Commit

Permalink
fix(static): use correct location header
Browse files Browse the repository at this point in the history
  • Loading branch information
trieloff committed Apr 30, 2019
1 parent 615bf33 commit 5d1f8c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/fastly/helix.vcl
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ sub vcl_error {
if (obj.status == 902 && req.http.X-Location) {
set obj.http.Content-Type = "text/html";
set obj.status = 302;
set obj.location = req.http.X-Location;
set obj.http.Location = req.http.X-Location;
synthetic "Found: <a href='" + req.http.X-Location+ "'>" + req.http.X-Location + "</a>";
return(deliver);
}
Expand Down

0 comments on commit 5d1f8c7

Please sign in to comment.