Skip to content

Commit

Permalink
feat: add path style URL support for S3 buckets (#5362)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xenthys committed Jul 14, 2021
1 parent b4b4a13 commit ee6206a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .env.example
Expand Up @@ -127,6 +127,10 @@ AWS_REGION=us-east-1
AWS_BUCKET=
AWS_SERVER=

# Set to true if you use S3 and need path style URL support for bucket access
# The default is to use virtual-hosted style URLs which may not work everywhere
S3_PATH_STYLE=

# Allow Two Factor Authentication feature on your instance
MFA_ENABLED=true

Expand Down
1 change: 1 addition & 0 deletions config/filesystems.php
Expand Up @@ -67,6 +67,7 @@
'expire' => env('S3_CACHE_EXPIRE', 600),
'prefix' => env('S3_CACHE_PREFIX', 's3'),
],
'use_path_style_endpoint' => env('S3_PATH_STYLE', false),
],

],
Expand Down

0 comments on commit ee6206a

Please sign in to comment.