Please do a test your site herHmmm ok.. but if it's even partial or not supported it shouldn't go through HTTP 1.1? If HTTP 2 is not available in browser...
Yeah! XXX supports HTTP/2.0 ALPN supported.
I have CentOs 7 and I did all in 1st post but there's not all good in this instruction....
1. In apache "--with-ssl=/usr/local/lib_http2" \ I had to write this "--with-ssl=/usr/local/lib_http2/lib" \ because without this I had error
httpd: /usr/sbin/httpd: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: ...directory systemd: Failed to start The Apache HTTP Server.
Can someone confirm the following:
"I had to write this "--with-ssl=/usr/local/lib_http2/lib" "
This can help:I confirm ... same problem with centos 7
Try to create these two links:
And try again build.Code:
ln -s /usr/local/lib_http2/lib/libssl.so.1.1 /usr/lib64/libssl.so.1.1 ln -s /usr/local/lib_http2/lib/libcrypto.so.1.1 /usr/lib64/libcrypto.so.1.1
# openssl version OpenSSL 1.0.1e-fips 11 Feb 2013
# yum info openssl
# cd /usr/local/src # wget https://www.openssl.org/source/openssl-1.0.2-latest.tar.gz # tar -zxf openssl-1.0.2-latest.tar.gz # cd openssl-1.0.2l (make sure the downloaded version) # ./config # make # make test # make install # mv /usr/bin/openssl /root/ # ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl # openssl version OpenSSL 1.0.2l 25 May 2017
# cd /usr/local/directadmin/custombuild # mkdir -p custom/nginx_reverse # cp -p configure/nginx_reverse/configure.nginx custom/nginx_reverse/configure.nginx # nano custom/nginx_reverse/configure.nginx
# ./build nginx_apache # cd /usr/local/directadmin/data/templates/ # cp -fp nginx_server_secure.conf custom/nginx_server_secure.conf # cp -fp nginx_server_secure_sub.conf custom/nginx_server_secure_sub.conf # perl -pi -e 's#listen \|IP\|:\|PORT_443\| ssl#listen |IP|:|PORT_443| ssl http2#g' custom/nginx_server_secure.conf custom/nginx_server_secure_sub.conf # cd /usr/local/directadmin/custombuild # ./build rewrite_confs
I can confirm that the issue is as follows:I will wait till it is implemented in DA / custombuild by default.
?It's recommended to run PHP in PHP-FPM mode
PHP is running with php-fpm. The following log shows that regular http is still being used:read logs
mpm as prefork?
could do this with apache httpd2.4.27 not more supporting http2 with prefork mpm version so you have to switch to worker or event.