diff --git a/apps/infra/stage/Caddyfile b/apps/infra/stage/Caddyfile index 4be5657e86..40ce3e0250 100644 --- a/apps/infra/stage/Caddyfile +++ b/apps/infra/stage/Caddyfile @@ -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 } diff --git a/docker-compose.yml b/docker-compose.yml index 00edc56c29..ff2ae69795 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: