-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(openchallenges): format Caddyfile (#2943)
- Loading branch information
1 parent
72b24a5
commit 13a4270
Showing
1 changed file
with
21 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,27 @@ | ||
{ | ||
debug | ||
} | ||
|
||
:80 { | ||
handle_path /api-docs* { | ||
reverse_proxy {env.API_DOCS_HOST}:{env.API_DOCS_PORT} | ||
} | ||
handle_path /api-docs* { | ||
reverse_proxy {env.API_DOCS_HOST}:{env.API_DOCS_PORT} | ||
} | ||
|
||
handle_path /api* { | ||
reverse_proxy {env.API_GATEWAY_HOST}:{env.API_GATEWAY_PORT} | ||
} | ||
handle_path /api* { | ||
reverse_proxy {env.API_GATEWAY_HOST}:{env.API_GATEWAY_PORT} | ||
} | ||
|
||
handle_path /health { | ||
respond `{"status":"healthy"}` 200 | ||
header Content-Type application/json | ||
} | ||
handle_path /health { | ||
respond `{"status":"healthy"}` 200 | ||
header Content-Type application/json | ||
} | ||
|
||
handle_path /img* { | ||
reverse_proxy {env.THUMBOR_HOST}:{env.THUMBOR_PORT} | ||
} | ||
handle_path /img* { | ||
reverse_proxy {env.THUMBOR_HOST}:{env.THUMBOR_PORT} | ||
} | ||
|
||
handle_path /zipkin* { | ||
rewrite * /zipkin{uri} | ||
reverse_proxy {env.ZIPKIN_HOST}:{env.ZIPKIN_PORT} | ||
} | ||
handle_path /zipkin* { | ||
rewrite * /zipkin{uri} | ||
reverse_proxy {env.ZIPKIN_HOST}:{env.ZIPKIN_PORT} | ||
} | ||
|
||
handle { | ||
reverse_proxy {env.APP_HOST}:{env.APP_PORT} | ||
} | ||
} | ||
handle { | ||
reverse_proxy {env.APP_HOST}:{env.APP_PORT} | ||
} | ||
} |