diff options
author | dicarne <dicarne@zhishudali.ink> | 2024-05-15 21:56:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-15 08:56:17 -0500 |
commit | d0d6aad85f4d1e2a6d2a6524fe13eccecfd350af (patch) | |
tree | b3087a88db27539860478aa1f6e3e1396490b0ea /custom | |
parent | db578431ea5e8dc7347ba3dc10e82a01c5ba3ace (diff) | |
download | gitea-d0d6aad85f4d1e2a6d2a6524fe13eccecfd350af.tar.gz gitea-d0d6aad85f4d1e2a6d2a6524fe13eccecfd350af.zip |
Supports forced use of S3 virtual-hosted style (#30969)
Add a configuration item to enable S3 virtual-hosted style (V2) to solve
the problem caused by some S3 service providers not supporting path
style (V1).
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.example.ini | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 577479e39f..4df843b8ce 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -1895,6 +1895,9 @@ LEVEL = Info ;; ;; Minio checksum algorithm: default (for MinIO or AWS S3) or md5 (for Cloudflare or Backblaze) ;MINIO_CHECKSUM_ALGORITHM = default +;; +;; Minio bucket lookup method defaults to auto mode; set it to `dns` for virtual host style or `path` for path style, only available when STORAGE_TYPE is `minio` +;MINIO_BUCKET_LOOKUP_TYPE = auto ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -2576,6 +2579,9 @@ LEVEL = Info ;; ;; Minio skip SSL verification available when STORAGE_TYPE is `minio` ;MINIO_INSECURE_SKIP_VERIFY = false +;; +;; Minio bucket lookup method defaults to auto mode; set it to `dns` for virtual host style or `path` for path style, only available when STORAGE_TYPE is `minio` +;MINIO_BUCKET_LOOKUP_TYPE = auto ;[proxy] ;; Enable the proxy, all requests to external via HTTP will be affected |