mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 23:21:44 -05:00
feat: support config s3 addressing style #4622
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @anyidea on GitHub (Mar 31, 2025).
Check Existing Issues
Problem Description
Currently, the application only supports one addressing style for AWS S3 connections. However, different S3-compatible services and environments may require different addressing styles:
This limitation prevents users who need to work with services that only support one specific addressing style.
Reference: https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html
Desired Solution you'd like
Implement a configuration option that allows users to choose between Virtual Host Style and Path Style addressing via an environment variable called S3_ADDRESSING_STYLE(default to:
path).Users should be able to set:
S3_ADDRESSING_STYLE=virtual for Virtual Host Style
S3_ADDRESSING_STYLE=path for Path Style
Alternatives Considered
No response
Additional Context
Some S3-compatible services like MinIO may have specific requirements for the addressing style. Additionally, AWS has been encouraging the use of virtual-hosted style, but path style is still necessary in some scenarios.
@tjbck commented on GitHub (Mar 31, 2025):
PR Welcome.