• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved plesk panel http/2

nMLxTMJTZ

Regular Pleskian
It's possibile to enable http/2 also for panel?
i set
[webserver]
nginxHttp2 = true
in panel.ini but not work still in http1.1
 
Hi camaran,

the setting in your "panel.ini"
Code:
[webserver]
nginxHttp2 = true
is for your WEBSERVER ( apache and nginx ), while the Plesk Control Panel uses it's very own webserver ( sw-cp-server ).

If you desire "http/2" - support for your Plesk Control Panel, pls. consider to open a feature request at


and describe your desire(s) and your buisiness case for your request.
 
It's possibile to enable http/2 also for panel?
i set
[webserver]
nginxHttp2 = true
in panel.ini but not work still in http1.1

Of course it is possible --

Edit /etc/sw-cp-server/conf.d/plesk.conf and append 'http2' after ssl ie.

Code:
listen x.x.x.x:8443 ssl http2;
listen 127.0.0.1:8443 ssl http2;

Also, to improve the panel's ssl/web security you can create customSSL_plesk.inc in /etc/sw-cp-server/conf.d with:

Code:
server_tokens   off;
ssl_ecdh_curve  secp384r1;
ssl_dhparam     /etc/ssl/plesk/dhparam.pem;
add_header    Strict-Transport-Security 'max-age=15768000; includeSubdomains' always;
add_header    X-Robots-Tag none;
ssl_stapling    on;
ssl_stapling_verify     on;
ssl_trusted_certificate /etc/ssl/plesk/YourCACert.pem;
resolver        127.0.0.1 valid=300s;
resolver_timeout        10s;

Please read up on the options above before applying the security tip.

Edit - Almost forgot.. You need to obviously restart the panel ie. service sw-cp-server restart

Cheers
 
Last edited:
Back
Top