Skip to content

Commit

Permalink
Remove comments from Caddyfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaffter committed Dec 17, 2024
1 parent 3366ab1 commit 749f326
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions apps/openchallenges/apex/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
}

handle_path /api* {
// Since handle_path removes the /api prefix, we add it back here manually.
rewrite * /api{uri}
reverse_proxy {env.API_GATEWAY_HOST}:{env.API_GATEWAY_PORT}
}
Expand All @@ -19,9 +18,6 @@
}

handle_path /zipkin* {
// Since handle_path removes the /zipkin prefix, we add it back here manually.
// Note: Zipkin's root path (/) automatically redirects to /zipkin.
// This configuration avoids unnecessary redirection by forwarding the request directly.
rewrite * /zipkin{uri}
reverse_proxy {env.ZIPKIN_HOST}:{env.ZIPKIN_PORT}
}
Expand Down

0 comments on commit 749f326

Please sign in to comment.