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
I've attempted to reproduce the problem from scratch (point 7), but I couldn't replicate again. Curiously, I've managed to solve the issue by running dos2unix on the HTML files 😮
1. What version of Caddy are you running (
caddy -version
)?Caddy 0.9.5
2. What are you trying to do?
Access a static webpage page (GET /index.html)
3. What is your entire Caddyfile?
4. How did you run Caddy (give the full command and describe the execution environment)?
caddy
5. What did you expect to see?
MIME type text/html
6. What did you see instead (give full error messages and/or log)?
MIME type text/plain
7. How can someone who is starting from scratch reproduce this behavior as minimally as possible?
Forum discussion:
https://forum.caddyserver.com/t/templates-directive-causes-html-to-lose-mime-type/1426
The text was updated successfully, but these errors were encountered: