- Plesk for Linux
How to enable HTTP/2 Push with Nginx?
This feature was implemented in Plesk Onyx 17.8 MU#34.
This may be done by adding custom nginx directives:
Connect to the server via SSH
Make sure that HTTP/2 is enabled:
# plesk bin http2_pref enable
Goto Plesk > Domains > example.com > Apache & nginx Settings > Additional Apache Directives
Add directive under Additional nginx directives like follows:
CONFIG_TEXT: http2_push_preload on;
add_header Link "</wp-includes/css/dist/block-library/style.min.css>; as=style; rel=preload;";