Skip to content
● Grav 2.2.19 and 1.7.53.8 are out with security fixes found by Anthropic's OSS Scanner: update your sites. Read more →

An old Grav/Caddy/Apple/https problem revisited

Started by Paul Hodges 9 years ago · 0 replies · 948 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 David, 7 years ago
3 3236 2 days ago
Installation & Hosting · by David Meissner, 7 days ago
3 126 4 days ago
Installation & Hosting · by David Meissner, 1 week ago
0 91 1 week ago
Installation & Hosting · by Anthony J Cervo, 2 weeks ago
3 157 1 week ago
Installation & Hosting · by motorambler, 2 months ago
9 843 1 month ago