From 5607392a82369556e55ce2cf4de57dbf0c0839f5 Mon Sep 17 00:00:00 2001
From: Deeptwix <malik.rosset@lowsec.ch>
Date: Tue, 11 Jul 2023 22:10:03 +0200
Subject: [PATCH] Add force_path_style to storage.yml (#5296) (#5310)

* Add force_path_style to storage.yml (#5296)

* Add force_path_style to sample.env (bigbluebutton#5296)
---
 config/storage.yml | 1 +
 sample.env         | 1 +
 2 files changed, 2 insertions(+)

diff --git a/config/storage.yml b/config/storage.yml
index 4287c0f0..68112a74 100644
--- a/config/storage.yml
+++ b/config/storage.yml
@@ -36,6 +36,7 @@ s3:
   secret_access_key: <%= ENV['S3_SECRET_ACCESS_KEY'] %>
   region: <%= ENV['S3_REGION'] %>
   bucket: <%= ENV['S3_BUCKET'] %>
+  force_path_style: <%= ENV.fetch("S3_FORCE_PATH_STYLE", false) %>
 
 # Remember not to checkin your GCS keyfile to a repository
 google:
diff --git a/sample.env b/sample.env
index 25da1adb..405ae57f 100644
--- a/sample.env
+++ b/sample.env
@@ -56,6 +56,7 @@ REDIS_URL=
 #S3_REGION=
 #S3_BUCKET=
 #S3_ENDPOINT=
+#S3_FORCE_PATH_STYLE=
 
 # Set these environment variables if you are using Google Cloud Storage
 #GCS_PROJECT=
-- 
GitLab