<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello Guillaume,<br>
<br>
thanks again for your reply<br>
<br>
ok ... did enable hitch ALPN<br>
<br>
alpn-protos = "http/2, http/1.1"<br>
<br>
did enable http/2 in varnish.<br>
<br>
I'm running opensuse and it has its configuration in
/etc/sysnconfig/varnish<br>
<br>
VARNISHD_PARAMS="-j unix,user=varnish -f /etc/varnish/main.vcl -a
:80 -a 127.0.0.1:6086,PROXY -T localhost:6082 -s default=malloc,2G
-s static=file,/var/cache/varnish,5G -p feature=+http2"<br>
<br>
which then is loaded via systemd service<br>
<br>
[Service]<br>
EnvironmentFile=/etc/sysconfig/varnish<br>
PIDFile=/var/run/varnishd.pid<br>
ExecStart=/usr/sbin/varnishd -P /var/run/varnishd.pid -F
$VARNISHD_PARAMS<br>
<br>
restart hitch & varnish<br>
<br>
if I look in the logs all looks fine<br>
<br>
Feb 06 10:07:12 cx40 systemd[1]: Starting hitch...<br>
Feb 06 10:07:12 cx40 hitch[1238]: Trying to initialize SSL
contexts with your certificates<br>
Feb 06 10:07:12 cx40 hitch[1238]: hitch configuration looks ok.<br>
Feb 06 10:07:13 cx40 systemd[1]: Started hitch.<br>
<br>
Feb 06 10:07:14 cx40 varnishd[1233]: Debug: Version: varnish-6.3.0
revision 0c9a93f1b2c6de49b8c6ec8cefd9d2be50041d79<br>
Feb 06 10:07:14 cx40 varnishd[1233]: Debug: Platform:
Linux,4.12.14-lp151.28.36-default,x86_64,-junix,-smalloc,-sfile,-sdefault,-hcritbit<br>
Feb 06 10:07:14 cx40 varnishd[1233]: Version: varnish-6.3.0
revision 0c9a93f1b2c6de49b8c6ec8cefd9d2be50041d79<br>
Feb 06 10:07:14 cx40 varnishd[1233]: Platform:
Linux,4.12.14-lp151.28.36-default,x86_64,-junix,-smalloc,-sfile,-sdefault,-hcritbit<br>
Feb 06 10:07:14 cx40 varnishd[1233]: Debug: Child (1619) Started<br>
Feb 06 10:07:14 cx40 varnishd[1233]: Child (1619) Started<br>
Feb 06 10:07:14 cx40 varnishd[1233]: Info: Child (1619) said Child
starts<br>
Feb 06 10:07:14 cx40 varnishd[1233]: Info: Child (1619) said
SMF.static mmap'ed 5368709120 bytes of 5368709120<br>
Feb 06 10:07:14 cx40 varnishd[1233]: Child (1619) said Child
starts<br>
Feb 06 10:07:14 cx40 varnishd[1233]: Child (1619) said SMF.static
mmap'ed 5368709120 bytes of 5368709120<br>
Feb 06 10:07:14 cx40 varnishncsa[742]: .................<br>
<br>
if i then check if the website supports http/2<br>
<br>
my website is <a class="moz-txt-link-freetext" href="https://kohphangannews.org/">https://kohphangannews.org/</a><br>
<br>
<a class="moz-txt-link-freetext" href="https://tools.keycdn.com/http2-test">https://tools.keycdn.com/http2-test</a><br>
<br>
<a class="moz-txt-link-freetext" href="https://http2.pro/check?url=https%3A//kohphangannews.org/">https://http2.pro/check?url=https%3A//kohphangannews.org/</a><br>
<br>
it says that http/2 is not supported ;(<br>
<br>
what am I missing?<br>
<br>
thanks a lot for your time & help<br>
<br>
Greetings<br>
Becki<br>
<br>
<br>
<br>
</p>
<div class="moz-cite-prefix">Am 05.02.2020 um 18:13 schrieb
Guillaume Quintard:<br>
</div>
<blockquote type="cite"
cite="mid:CAJ6ZYQy7ofHKctXGbDLwH8TQvt9L3ymBmzBzbY1Eu=QEZ2or9g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">it's ready. And yes, I think you need to enable it
on hitch too.<br clear="all">
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>-- <br>
</div>
Guillaume Quintard<br>
</div>
</div>
</div>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Feb 5, 2020 at 9:03 AM
Admin Beckspaced <<a href="mailto:admin@beckspaced.com"
moz-do-not-send="true">admin@beckspaced.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Hi Guillaume,<br>
<br>
Thanks for your reply ;)<br>
</p>
<p>Is varnish http2 feature ready for a production server?
Or is it still experimental?<br>
<br>
Would I need to setup Hitch for http2, too?<br>
<br>
# Enable to let clients negotiate HTTP/2 with ALPN.
(default off)<br>
# alpn-protos = "http/2, http/1.1"<br>
<br>
thanks & greetings<br>
Becki<br>
<br>
</p>
</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>