1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Question HTTP/2 Server Push for Apache possible?

Discussion in 'Plesk Onyx for Linux' started by daanse, Sep 14, 2017.

  1. daanse

    daanse Regular Pleskian

    16
    85%
    Joined:
    Nov 19, 2015
    Messages:
    257
    Likes Received:
    5
    Location:
    Germany
    Hi,
    with latest Plesk (17.5.x and Debian 8.9) can i enable HTTP/2?
    I have nginx completely disabled (some years ago) and i don't want to enable it.

    Is it possible with Apache2 only? If yes, how? I didn't find helpful KBs
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
    HTTP/2 Support in Plesk
    Moreover, nginx should be started.
     
    Boken likes this.
  3. daanse

    daanse Regular Pleskian

    16
    85%
    Joined:
    Nov 19, 2015
    Messages:
    257
    Likes Received:
    5
    Location:
    Germany
    Hm, i have a Server with multiple Joomlas and Wordpresses.
    Can i just install NGINX and regenerate all vhosts configs?
    Will that work on the fly? or do i have to take care over ALL htaccess files and so on?
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
    In general, everything should work properly, but you understand that nothing is perfect and problems are possible.
    If you have something special in your .htaccess files I can recommend you try to use this Plesk extension - htaccess to nginx - Plesk Extensions
     
    daanse likes this.
  5. burnley

    burnley Regular Pleskian

    28
    57%
    Joined:
    Feb 6, 2008
    Messages:
    222
    Likes Received:
    2
    Location:
    Melbourne, Vic
    I don't know of anyone running Apache with http/2 support on Plesk. It can be done, but it's very convoluted and you might run into various packaging issues - dependencies, yum priorities and all that. For CentOS 7 I've got a non-Plesk test server running Apache 2.4.27 with http/2 support, but there are caveats:
    - You need CentOS 7.4 with the latest OpenSSL 1.0.2k and you must rebuild httpd with http/2 support.
    - http/2 requires a threaded multi processing module, so prefork won't work. However, if running worker you'll run into problems with various PHP libraries (php-imap comes to mind) which aren't thread safe and will experience random crashes.
    - No NPN support, just ALPN, so certain older browsers will still use 1.1
    For Plesk I'd stick with sw-nginx as proxy for Apache for the time being.
     
    daanse likes this.
Loading...