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

Commit

Permalink
caddy-lb-policy-switch: Uncomment change_upstreams
Browse files Browse the repository at this point in the history
  • Loading branch information
kreatoo authored Jun 12, 2024
1 parent 8981225 commit f087719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caddy/caddy-lb-policy-switch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function identify_request() {

if (echo "$REQ" | jq -r '.match[].host | join(" ")' 2> /dev/null | grep -qw "$URL_TO_FIND"); then
echo "Match found, route: $route, server: $SERVER"
#change_upstreams "$1" "$2" "$IDENTIFIER"
change_upstreams "$1" "$2" "$IDENTIFIER"
fi
done
done
Expand Down

0 comments on commit f087719

Please sign in to comment.