Category Archives: Plesk

Plesk Guides, Articles and Discussion

Add Charset to css and js files

I noticed that my css and js files were being served without the charset in the content type…

content-type: text/css;

It should be (source)…

content-type: text/css; charset=utf-8

To resolve, login to Plesk and navigate to your domain, and click Apache & nginx Settings, scroll down to Additional nginx directives and add…

as you can see, you can just list the file types as you would for gzip_types.

Horde ActiveSync on Plesk

If you’ve been running ActiveSync on a dedicated subdomain with Horde you’ve probably been relying on Apache Alias directives to get it working.
Now mod_php is deprecated, you don’t have that option.

You now have to set the handler for the /usr/share/psa-horde folder in Additional directives for HTTPS for the subdomain in Plesk.

I copied this over from the main webmail conf, the only change I made was to change PHP version to 7.4.

I hope that helps someone.

Removing the Inbox Prefix in Dovecot

This is how you remove the Inbox Prefix server-side when using Dovecot.

Firstly let’s create the file…

Now we need to add the following to it…

Finally restart Dovecot…

And you’re done.