Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Pylon: Fix rewrite of WebHDFS redirection (#1328) (#1407)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerhut authored Sep 19, 2018
1 parent 955fbc1 commit 588e1bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pylon/src/nginx.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ http {
}
location @handle_webhdfs_api_redirect {
if ($upstream_http_location ~ ^http://([^/]+):(\d+)/(.*)$) {
return 307 $scheme://$http_host/a/$1/$2/$3;
return 307 $scheme://$http_host/a/$1:$2/$3;
}
}

Expand Down

0 comments on commit 588e1bb

Please sign in to comment.