Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

An old Grav/Caddy/Apple/https problem revisited

Started by Paul Hodges 9 years ago · 0 replies · 849 views
9 years ago

Last June I reported this problem running Grav on Caddy and trying to access it from Apple machine.

This weekend I revisited it, and found a pragmatic solution. The responses to the browser were being sent using HTTP/2 but included a "connection: close" header which is invalid in that context. When I configured the Grav site in Caddy to block that header, the problem went away.

Since none of my other sites on Caddy have this problem, I can only suppose that the erroneous header is coming from Grav. Although I have a practical solution, I'd still be interested in finding out where the problem actually comes from, and whether there is a more direct configuration in Grav itself which would prevent it arising.

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by jeremycherfas, 1 week ago
1 112 1 week ago
Installation & Hosting · by motorambler, 3 weeks ago
8 392 2 weeks ago
Installation & Hosting · by antoinep, 3 months ago
8 965 3 months ago
Installation & Hosting · by Jürgen Dietrich, 10 months ago
0 623 10 months ago
Installation & Hosting · by rappluk, 11 months ago
0 667 11 months ago