• 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
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

add spdy

admin12

New Pleskian
I would like to add spdy under all nginx configuration as below

listen 443 ssl spdy;

How to add them globally ?
 
Quotes from the provided link:
....
Once its done we need to add spdy to Nginx default template
...
/usr/local/psa/admin/conf/templates/default/domain/nginxDomainVirtualHost.php

Sorry... wrong way to define a custom template. With the next updates/updates/patches from Parallels, this modifications might be replaced again with the standard Plesk template and the modification will be lost.
 
Quotes from the provided link:


Sorry... wrong way to define a custom template. With the next updates/updates/patches from Parallels, this modifications might be replaced again with the standard Plesk template and the modification will be lost.

UFHH01 ,Which is the template to add spdy without affecting next plesk updates
 
Hi admin12,

mkdir /usr/local/psa/admin/conf/templates/custom
mkdir /usr/local/psa/admin/conf/templates/custom/domain
cp /usr/local/psa/admin/conf/templates/default/domain/nginxDomainVirtualHost.php /usr/local/psa/admin/conf/templates/custom/domain/

Please edit ONLY /usr/local/psa/admin/conf/templates/custom/domain/nginxDomainVirtualHost.php


If you would like more informations about "CUSTOM TEMPLATES", please read the Plesk documentation or please use the forum search.


 
Back
Top