Linux Harbour

Open Source Technology Media

Month: January 2017

Common troubleshooting to Roundcube web mail

At roundcube + dovecot, an error message “connection to storage server failed” is returned when users login their mailbox thru roundcube webmail, probably it is caused by limited numbers of connetion per user IP address. For dovecot imap service on…

How to install Hongkong Post SSL e-Cert on Nginx web server

We installed a Hongkong Post e-Cert (Server) on the Nginx web server of our client successfully. Hongkong Post provides a 9-digit PIN envelope reference number and a 16-digit e-Cert PIN password to our client. In this example, we assume that…

Nginx website redirect

When we should redirect a website to a new web address (URL) in nginx, we may make use of Nginx rewrite insides the web site configuration block (ie. location { … }). There are few different types of HTTP redirects,…

Drupal and Nginx with PHP-FPM

When I migrate a drupal site to running on nginx with php-fpm, I will add the following config lines at nginx virtual host setting to allow static files (image files, document files, etc.) to bypass php-fpm. I use nginx variable…

WordPress and Nginx with PHP-FPM

When I installs wordpress running on nginx with php-fpm, I will add the following config lines at nginx virtual host setting to allow static files (image files, document files, etc.) to bypass php-fpm. location / {     try_files $uri $uri/…