Skip to content
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

🚀 Feature Request: Worker with Static Assets: Add a new option for html_handling to have the same behavior of a standard web server #7430

Open
lakano opened this issue Dec 3, 2024 · 0 comments
Labels
enhancement New feature or request Workers + Assets

Comments

@lakano
Copy link

lakano commented Dec 3, 2024

Describe the solution

Hi,

I would love to have a new option for html_handling, similar to the « none » option but that support the default index.html file in folders, like a standard web server (« index index.html » for nginx)

So if a the URL is « domain.tld/folder/ » and there is a /folder/index.html, to return the HTTP code status 200 and the content of the index.html without any redirections. If not, to let the not_found_handler option decide.

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Workers + Assets
Projects
Status: Untriaged
Development

No branches or pull requests

2 participants