Skip to content

Commit

Permalink
feat(infra): add image upload proxy (#1829)
Browse files Browse the repository at this point in the history
  • Loading branch information
goathoon authored Jul 18, 2024
1 parent c1d4e22 commit 157c413
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions apps/infra/stage/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,15 @@ stage.codedang.com {

handle /bucket* {
uri strip_prefix /bucket
reverse_proxy 127.0.0.1:9000
}

handle /console* {
uri strip_prefix /console
reverse_proxy 127.0.0.1:9001
}


handle /logs* {
reverse_proxy 127.0.0.1:9999
}
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ services:
- 9001:9001
command: server /data --console-address ":9001"
environment:
MINIO_BROWSER_REDIRECT_URL: https://stage.codedang.com/bucket
MINIO_BROWSER_REDIRECT_URL: https://stage.codedang.com/console
MINIO_ROOT_USER: skku
MINIO_ROOT_PASSWORD: skku1234
volumes:
Expand Down

0 comments on commit 157c413

Please sign in to comment.