FEAT: make s3_force_path_style shadowed_by_global

FEAT: make s3_force_path_style shadowed_by_global

Without this it’s impossible to enable S3 backups to Minio (and Digital Ocean Spaces?) using only ENV variables in config.

@tgxworld

From cf2e86c7633563de0a8fa9f580656b4ecaf06784 Mon Sep 17 00:00:00 2001
From: Jay Pfaffman <jay@literatecomputing.com>
Date: Thu, 6 Dec 2018 15:52:26 -0800
Subject: [PATCH] FEAT: make s3_force_path_style shadowed_by_global

Without this it's impossible to enable S3 backups to Minio (and Digital Ocean Spaces?) using only ENV variables in config.

@tgxworld

https://meta.discourse.org/t/can-we-make-s3-force-path-style-be-shadowed-by-global/103571

diff --git a/config/site_settings.yml b/config/site_settings.yml
index ec8b713..ace129d 100644
--- a/config/site_settings.yml
+++ b/config/site_settings.yml
@@ -1042,6 +1042,7 @@ files:
     regex: '^https?:\/\/.+[^\/]$'
   s3_force_path_style:
     default: false
+    shadowed_by_global: true
   s3_configure_tombstone_policy:
     default: true
     shadowed_by_global: true

GitHub

1 Like