Answer these questions to help the Community help you get started.
What is the domain name?
various
Have you searched for an answer?
yes
Please share your search results url:
Discourse is telling me I can’t share any links or URLs.
When you tested your domain using the Cloudflare Diagnostic Center, what were the results?
It just redirects to the support page.
Describe the issue you are having:
I’m serving a site from R2.
R2 doesn’t support “default pages”.
So URIs for:
hXXps://domain.tld/
,
hXXps://domain.tld/foo/
,
hXXps://domain.tld/foo/bar/
,
hXXps://domain.tld/foo/bar/baz/
,
hXXps://domain.tld/foo/bar/baz/bat/
, etc.
… all return a 404 Not Found because the index.html
file in that directory is not being served.
Having a bit of difficulty trying to figure out the Page Rule that will redirect all requests for /
and /
that are n+ sub-levels deep to /
+ index.html
.
What error message or number are you receiving?
N.A.
What steps have you taken to resolve the issue?
I tried wildcard page rules but those didn’t work.
I tried a page rule with $1 but that only matched the top most level.
Was the site working with SSL prior to adding it to Cloudflare?
N/A
What are the steps to reproduce the error:
N/A
Have you tried from another browser and/or incognito mode?
Yes.