Plesk: Fix OCSP stapling warning for nginx

Problem nginx: [warn] “ssl_stapling” ignored, issuer certificate not found for certificate “/usr/local/psa/var/certificates/scwqKDI92” If you see a warning like this in your nginx logs it means that the certificate CA is not in the trust list. When you have Plesk installed the CA chains are being updated, but not included in the nginx config by default. …

Plesk: Fix OCSP stapling warning for nginx Read More »

Bind DNS: override RBL TTL

When you have spamfiltering using external blocklists you may quickly run out of credits because those lists set an absurd low TTL in the DNS responses. The common Bind nameserver does not allow you to set the minimum cache TTL and for good reasons, because normally you should never override that caching time out. It …

Bind DNS: override RBL TTL Read More »

Plesk: Enable SFTP access for additional FTP users

By default only the main user of a domain can SFTP into a domain. Plesk does allow to add FTP users but for some reason not for access over encrypted SSH. That makes the whole feature broken given today’s security standards that don’t allow plain FTP access anymore. This guide helps you to properly set up the new user for secure access over SFTP.

Optimize ccze log colorizer

Even though CCZE is very stable it is also very slow and may even look broken out of the box with the default configuration. Here I explain how to work around the two most important issues. You will love ccze for all your log colorizing.

Plesk: Add webmaster addresses to all domains

Here is a shell script that will iterate through all your Plesk domains to quickly add email addresses in bulk without going through each domain’s settings yourself. IntroScriptAutomation with events Intro This specific script adds a webmaster email address with standard aliases like postmaster@ and abuse@, but without an actual mailbox. The messages are forwarded …

Plesk: Add webmaster addresses to all domains Read More »

Cannot allocate memory – Fix for login error

Do you see this message on every login to your Ubuntu system? “Could not load list of meta packages: [Errno 12] Cannot allocate memory”. The error indicates there was not enough RAM available to complete the task. Here I explain where the message comes from and how to get rid of it.

vnStat data traffic on Ubuntu login

Display data traffic statistics and estimates from vnStat for today and the current month on your Ubuntu Server login motd (message of the day)

Force file download with nginx

Configuration to force file download with nginx when a certain GET parameter is set, unless the file should be hidden.