Site isn´t served as HTTP/2

(Daniel Julius) #1

Hey Guys,

I´am using Caddy, but my site is serving over http/1.1. But i dont know why…
H2 is the default for Caddy, or?

In my Configfile i have add following keywords:

tls EMAIL {
alpn h2

Have everyone an little hint for me?

Thank You

(Matt Holt) #2

Does that still happen if you take out the alpn line?

(Daniel Julius) #3

Yep… it still happen…

(Matt Holt) #4

What is your full, unredacted Caddyfile? And how are you running Caddy?

(Daniel Julius) #5

Here is the Caddyfile…


You can test it on

I´am running Caddy on Debian 9 as a Service:

ExecStart=/usr/local/bin/caddy -log stdout -agree=true -conf=/etc/caddy/Caddyfile -root=/var/tmp

(Matt Holt) #6

Thanks - I just tried it out. It’s showing h2 for me.

(Daniel Julius) #7

Hmpf… Firefox showing me this as well