How to generate a new Diffie-Hellman Group

Recently there has been a new hack to break secured traffic when using the Diffie-Hellman key exchange in combination with a weak group param. To generate a new one, use this command:

To include it in Apache, use

…or nginx

More information can be found on this page: https://weakdh.org/sysadmin.html

nginx / php-fpm stops working after new update

NGINX on Debian ships with new configuration files I just updated the nginx package which delivered new configuration files and caused the php-fpm worker to fail. There was no error message in none of those files /var/log/nginx/error.log, /var/log/php-fpm.log and /var/log/syslog . Restarting nginx did not help. When I noticed HTML files got served correctly but…

Why replacing Apache by nginx improves SEO

I recently switched to nginx from Apache webserver and noticed improved SERP. Google’s Webmastertools show you why: Google gives your website a measured contingent of time its bot crawls your site. nginx’ reponse time is like 4 times faster than Apache, thus Google can crawl more content. Besides that, Google (mainly AdSense) lowers your website’s…