-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display INDEX_DOCUMENT if exists and DIRECTORY_LISTINGS=true #43
Comments
patrickdk77
added a commit
to patrickdk77/aws-s3-proxy
that referenced
this issue
Jan 12, 2021
From: Evgeni Gordeev <egordeev@conserviscorp.com> Date: Wed, 15 Apr 2020 17:01:21 -0500 Subject: [PATCH] Closes pottava#43.
This would be nice indeed! |
This is a very useful enhancement, @pottava pls consider to merge it! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature or enhancement request
It's a feature enhancement to display folder content or index.html if exists. New variable DIRECTORY_LISTINGS_CHECK_INDEX is introduced to control the behavior.
Given s3 bucket content:
Desired result if
DIRECTORY_LISTINGS=true
andDIRECTORY_LISTINGS_CHECK_INDEX=true
:GET / returns /index.html content
GET /folder/ returns list of folders - [subfolder1, subfolder2]
GET /folder/subfolder1 returns /folder/subfolder1/index.html content
GET /folder/subfolder2 returns /folder/subfolder2/index.html content
The text was updated successfully, but these errors were encountered: