Hardening drebbits.com

Apache to Nginx

An Attempt HTTP2
Since I am in upgrading :allthethings: mood, I decided to also use the latest technology in the http world. I stumbled into this guide by deliciousbrain plus other guides for hosting WordPress yourself.

White screen of Death
To enable http2, I needed to upgrade nginx. After upgrading from 1.6.x to 1.10.x, I was greeted with a white screen of death in my WordPress install. Here’s what fixed it:

location ~ \.php$ {
    include /path/to/fastcgi_params;
    fastcgi_pass  127.0.0.1:9000;
    fastcgi_index index.php;
    fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
}

The last piece I needed was the fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;

Let’s Encrypt!

After several attempts to install let’s encrypt, I finally made it after migrating over Nginx + PHP-FPM stack.

Jetpack Issues

If you ever read this post and you happen to have a suggestion in mind, please drop a comment down below 👇🏻

Leave a Reply