Results 1 to 9 of 9

Thread: http2 with alpn support

  1. #1
    Join Date
    Nov 2016
    Posts
    54

    http2 with alpn support

    Hello,
    I try to follow this topic http://www.forum.directadmin.com/showthread.php?t=52590

    and i use Nginx_Apache
    But results "ALPN is not supported." follow link
    https://tools.keycdn.com/http2-test?...aiaquarium.com

    I did below...

    To enable HTTP/2 in Nginx:
    cd /usr/local/src/
    wget ftp://ftp.openssl.org/source/openssl-1.1.0g.tar.gz
    tar xzf openssl-1.1.0g.tar.gz

    and then
    For Nginx_Apache:
    cd /usr/local/directadmin/custombuild
    mkdir -p custom/nginx_reverse
    cp -p configure/nginx_reverse/configure.nginx custom/nginx_reverse/configure.nginx

    Build Nginx with statically linked OpenSSL library:
    1) Edit configure.nginx which was copied to custom/ folder
    2) Add "--with-openssl=/usr/local/src/openssl-1.1.0g" and "--with-http_v2_module" flags
    3) Run ./build nginx
    And error

    /usr/local/directadmin/custombuild/custom/nginx_reverse/configure.nginx permssion denied
    please check /usr/local/directadmin/custombuild/custom/nginx_reverse/configure.nginx file.

    What wrong with this case?
    or i need to Enable http2 in Apache first?
    Thank you very much.

  2. #2
    Join Date
    Nov 2016
    Posts
    54

  3. #3
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,397
    Hello,

    What OS are running there? You should follow the guide only if you have openssl installed by OS older than 1.1.0.

    You don't need to do anything to Apache in any case when you have NGINX in front of it.

  4. #4
    Join Date
    Nov 2016
    Posts
    54
    hello,
    I use centos 6, and how to enable ALPN for http2 with nginx?
    Thank you.

  5. #5
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,397
    I believe you need to upgrade openssl server-wide first.... search the forums for available instructions.

  6. #6
    Join Date
    Nov 2016
    Posts
    54
    Hello,
    Could you specific topic for me please?
    Thank you.

  7. #7
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,397
    You will need to search yourself if you need to find a topic on the matter.

    I've already posted here somewhere a link to this script, so here it's again: https://github.com/poralix/directadm...master/openssl

  8. #8
    Join Date
    May 2008
    Posts
    750
    Quote Originally Posted by ayeweb View Post
    Could you specific topic for me please?
    This is OS specific. You must search tutorials regarding your operating system.

  9. #9
    Join Date
    Nov 2016
    Posts
    54
    Thank you,
    Now my server support alpn already.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •