How to make URL with path redirect to original URL

I have a static website in a bucket. I have already set up DNS configs in such a way that the static website is accessible when visiting the url at www.example-url.com
I'd also like the static site to be accessible when visiting www.example-url.com/example-bucket/example-folder

How do I go about it?

Please note that the bucket is not on AWS S3 and the urls used www.example-url.com and www.example-url.com/example-bucket/example-folder are just used for demonstration purposes.
Also, I am using cloudflare as my DNS provider
Was this page helpful?