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

Pylon: fix double start query in yarn redirect #2258

Merged
merged 4 commits into from
Mar 4, 2019
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pylon/src/nginx.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ http {
}
location @handle_yarn_redirect {
if ($upstream_http_location ~ ^http://([^/]+):(\d+)/(.*/)?([^/]*)$) {
return 301 $scheme://$http_host/yarn/$1:$2/$3$4$is_args$args;
return 301 $scheme://$http_host/yarn/$1:$2/$3$4;
}
}

Expand Down