You are not logged in.

#1 2018-06-16 19:59:01

Kimyeti
Member
Registered: 2017-05-10
Posts: 9

Apache http2 issues

Hi beautiful geek people

I've succesfully setup an Apache server with php, mariadb and the whole shebang! The last thing I need is to enable http2 which for some reason just refuses to work. Here are the configs.

http.conf:

Include http2_module modules/mod_http2.so
Protocols h2 h2c http/1.1

httpd-vhosts.conf

<VirtualHost *80>
Protocols h2 h2c http/1.1
DocumentRoot "/srv/http/inorroe
ServerName inorroe
ServerAlias www.inorroe.local
</VirtualHost>

When I check the developer tools in Firefox I see this:

https://i.imgur.com/brsSEoA.jpg

Am I missing something obvious? I have no clue why it isn't working. Thanks in advance <3

Offline

#2 2018-06-16 20:26:03

seth
Member
Registered: 2012-09-03
Posts: 49,945

Re: Apache http2 issues

Did you rule out FF as the issue?
https://http2.golang.org/

curl -v https://www.inorroe.local

Last edited by seth (2018-06-16 20:26:25)

Online

#3 2018-06-16 22:58:34

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: Apache http2 issues

HTTP2 only works over an encrypted connection.  You are trying to use http:// when you need https://.

Offline

#4 2018-06-17 10:05:54

Kimyeti
Member
Registered: 2017-05-10
Posts: 9

Re: Apache http2 issues

Thank you very much for the quick reply. I knew I was missing something obvious (stupid me). I'll need to setup a reverse proxy server first before I can check it out with https. Thanks for the help smile

Last edited by Kimyeti (2018-06-17 10:08:05)

Offline

Board footer

Powered by FluxBB