You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting_started.md
+17-1
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ running as a Container or as a Systemd service.
28
28
|`S3_STYLE`| Yes |`virtual`, `path`, `default`|`default`| The S3 host/path method. <li>`virtual` is the method that that uses DNS-style bucket+hostname:port. This is the `default` value. <li>`path` is a method that appends the bucket name as the first directory in the URI's path. This method is used by many S3 compatible services. <br/><br/>See this [AWS blog article](https://aws.amazon.com/blogs/aws/amazon-s3-path-deprecation-plan-the-rest-of-the-story/) for further information. |
29
29
|`DEBUG`| No |`true`, `false`|`false`| Flag enabling AWS signatures debug output |
30
30
|`APPEND_SLASH_FOR_POSSIBLE_DIRECTORY`| No |`true`, `false`|`false`| Flag enabling the return a 302 with a `/` appended to the path. This is independent of the behavior selected in `ALLOW_DIRECTORY_LIST` or `PROVIDE_INDEX_PAGE`. |
31
+
|`DIRECTORY_LISTING_PATH_PREFIX`| No ||| In `ALLOW_DIRECTORY_LIST=true` mode [adds defined prefix to links](#configuring-directory-listing)|
31
32
|`DNS_RESOLVERS`| No ||| DNS resolvers (separated by single spaces) to configure NGINX with |
32
33
|`PROXY_CACHE_MAX_SIZE`| No ||| Limits cache size |
33
34
|`PROXY_CACHE_INACTIVE`| No ||| Cached data that are not accessed during the time specified by the parameter get removed from the cache regardless of their freshness |
@@ -78,6 +79,21 @@ result in log messages like:
78
79
Another limitation is that when using v2 signatures with HEAD requests, the
79
80
gateway will not return 200 for valid folders.
80
81
82
+
#### Prefixing List Results
83
+
84
+
The gateway can be configured to prefix all list results with a given string.
85
+
This is useful if you are proxying the gateway itself and wish to relocate
86
+
the path of the files returned from the listing.
87
+
Using the `DIRECTORY_LISTING_PATH_PREFIX` environment variable will allow
88
+
one to add that prefix in listing page's header and links.
89
+
90
+
For example, if one configures to `DIRECTORY_LISTING_PATH_PREFIX='main/'` and
91
+
then uses HAProxy to proxy the gateway with the
92
+
`http-request set-path %[path,regsub(^/main,/)]` setting, the architecture
### Error `403 Access Denied` for AWS Accounts with MFA Enabled
384
-
The REST authentication method used in this container does not work with AWS IAM roles that have MFA enabled for authentication. Please use AWS IAM role credentials that do not have MFA enabled.
400
+
The REST authentication method used in this container does not work with AWS IAM roles that have MFA enabled for authentication. Please use AWS IAM role credentials that do not have MFA enabled.
0 commit comments