Skip to content

Commit b5dc501

Browse files
NEXT-20706 - Add the missing keys allowed_extensions, private_allowed_extensions and private_local_download_strategy to the shopware.yaml configuration
1 parent c3a24dc commit b5dc501

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

guides/hosting/infrastructure/filesystem.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,21 @@ shopware:
4949
# The Adapter Configuration
5050
```
5151

52+
If you want to regulate the uploaded file types, then you could add the keys `allowed_extensions`for the public filesystem or `private_local_download_strategy` for the private filesystem.
53+
With the `private_local_download_strategy` key you could choose the download strategy for private files (e.g., the downloadable products):
54+
55+
```yaml
56+
shopware:
57+
filesystem:
58+
public:
59+
# The Adapter Configuration
60+
private:
61+
# The Adapter Configuration
62+
allowed_extensions: # Array with allowed file extensions for public filesystem
63+
private_allowed_extensions: # Array with allowed file extensions for private filesystem
64+
private_local_download_strategy: # Name of the download strategy: php, x-sendfile or x-accel
65+
```
66+
5267
## Integrated adapter configurations
5368
5469
### Local

0 commit comments

Comments
 (0)