Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:config:enable_quic:apache_configuration_with_plesk [2017/08/16 20:17] Johathan Kagan |
litespeed_wiki:config:enable_quic:apache_configuration_with_plesk [2018/02/20 16:20] (current) Lisa Clarke Proofreading |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== How to enable QUIC through Apache configuration with Plesk ===== | + | ====== How to Enable QUIC Through Apache Configuration with Plesk ===== |
- | If LSWS is reading your Apache configuration through Plesk you can use the a directive in that file to turn QUIC on or off at the server or vhost level. Add the following directive to the Apache configuration file. | + | |
- | <IfModule LiteSpeed> | + | To enable QUIC, there is no configuration change in LSWS. For control panel, QUIC is turned on by default for Apache HTTPS vhosts. |
- | QuicEnable on|off | + | |
- | </IfModule> | + | |
- | When you set QuicEnable at the Apache server level, all vhosts will use that setting as their default. Vhosts level can not rewrite server level.\\ | + | All user need to do is open UDP port 443. |
- | Please bear in mind that QUIC can only be used for HTTPS vhosts. | + | |
+ | HTTPS with trusted cert, | ||
+ | UDP port 443 open at the firewall. | ||
+ | |||
+ | The followings explain the directives could be possibly used but may not necessary at the initial stage. | ||
+ | |||
+ | |||
+ | ====== Directive examples ===== | ||
===== Requirements ===== | ===== Requirements ===== | ||
* Must have QUIC enabled in GUI/conf | * Must have QUIC enabled in GUI/conf | ||
Line 17: | Line 20: | ||
* QUIC will only apply to https, not http | * QUIC will only apply to https, not http | ||
* QUIC can be enabled at the server level, listener level or virtual host level | * QUIC can be enabled at the server level, listener level or virtual host level | ||
+ | |||
+ | ===== Configuration ===== | ||
+ | If LSWS is reading your Apache configuration through Plesk you can use the a directive in that file to turn QUIC on or off at the server or vhost level. Add the following directive to the Apache configuration file. | ||
+ | |||
+ | <IfModule LiteSpeed> | ||
+ | QuicEnable on|off | ||
+ | </IfModule> | ||
+ | |||
+ | When you set QuicEnable at the Apache server level, all vhosts will use that setting as their default. Vhosts level can not rewrite server level.\\ | ||
+ | Please bear in mind that QUIC can only be used for HTTPS vhosts. | ||
+ | |||
+ | ==== How to Disable it at the Vhost Level ==== | ||
+ | Add the following lines into ''/var/www/vhosts/system/your-domain/conf/vhost_ssl.conf''. Create this file if it doesn't exist. | ||
+ | |||
+ | <IfModule LiteSpeed> | ||
+ | QuicEnable off | ||
+ | </IfModule> | ||
+ | |||