Skip to content

RUSTFS_SERVER_DOMAINS breaks console bucket administration #887

@RogerSik

Description

@RogerSik

RUSTFS_SERVER_DOMAINS is needed to set for working vhost style. But when I set it breaks the administration of buckets in console

Working/tested console features:

  • Login
  • Access Keys

Not working console features:

  • Bucket List
  • Bucket Creation
Image Image

.env

RUSTFS_ACCESS_KEY="REDACTED"
RUSTFS_SECRET_KEY="REDACTED"
RUSTFS_CONSOLE_ENABLE=true

RUSTFS_SERVER_DOMAINS="rustfs.example.org"
RUSTFS_ADDRESS=0.0.0.0:9000
RUSTFS_CONSOLE_ADDRESS=0.0.0.0:9001
RUSTFS_EXTERNAL_ADDRESS=:9000

RUSTFS_CONSOLE_CORS_ALLOWED_ORIGINS="https://console.rustfs.example.org"

compose.yaml

services:
  rustfs:
    # https://hub.docker.com/r/rustfs/rustfs
    image: rustfs/rustfs:1.0.0-alpha.67
    hostname: unraid
    container_name: rustfs
    env_file: .env
    ports:
      - '9000:9000' # s3 api
      - '9001:9001' # management ocnsole
    volumes:
      - /mnt/cache/rustfs:/data
    tmpfs:
      - /logs:size=1G
    restart: unless-stopped

rustfs is reverse proxied by (external) traefik v3.6.0

Metadata

Metadata

Assignees

Labels

S-confirmingStatus: Awaiting confirmation for a resolved issuebugSomething isn't workingdeploymentDeployment supporting

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions