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
On caddy 2.7, http://localhost:8080/ will load the index.html page and serve "Hello". On caddy 2.8, it returns an empty 404 error. If there is a sub directory like http://localhost:8080/sub/ then the index page loads fine. It is only for the root URL.
The text was updated successfully, but these errors were encountered:
ah, yes. This definitely seems to be the same. The same commit identified there, 6d97d8d, seems to be where the issue lies. I'll close this as a dup of #6352 and see if I can help debug the issue over there.
caddy 2.8 seems to be failing to serve a root
/index.html
page as I would expect.Reproduction case
Create index.html file:
echo Hello > index.html
Create Caddyfile:
On caddy 2.7, http://localhost:8080/ will load the index.html page and serve "Hello". On caddy 2.8, it returns an empty 404 error. If there is a sub directory like http://localhost:8080/sub/ then the index page loads fine. It is only for the root URL.
The text was updated successfully, but these errors were encountered: