To add a MIME type for a virtual directory within a website, perform the following steps:
1 – Logged in to Plesk.
2 – Go to Websites & Domains, and find the website’s domain name.
3 – Click Virtual Directories.
4 – Navigate to the required virtual directory and click the corresponding link with its name.
5 – Click the MIME Types tab.
6 – Click Add MIME Type.
7 – Specify the following:
• Type the file name extension in the Extension field.
• Specify the file content type in the Content field.
• Select Custom and enter the content type in the input box provided, to define a new content type.
8 – Click OK to finish the creation.