How to allow HTTPS and configure an SSL certificate on a domain in Plesk which has Hosting Type set as Forwarding in Domains > example.com > Hosting Settings?
Warning: Currently, it's possible to secure a forwarding domain only when Nginx is installed and enabled on the server.
To secure a domain with Forwarding hosting type with an SSL certificate perform the following:
Check if the Common Challenge directory is enabled on the server.
If the output of the command is as below:
# plesk ext sslit --common-challenge-dir -info
- Available: true
- Enabled: false
Execute the next command to enable Common Challenge directory:
# plesk ext sslit --common-challenge-dir -enable
Go to Domains > example.com > SSL/TLS Certificates where
example.comis a domain with hosting type Forwarding and install a Let's Encrypt or the certificate from 3rd party certificate authorities.