Nginx Enable/Disable Site Configuration (a2ensite nginx)

There are times I wish I had the good old a2ensite and a2dissite for nginx. This Bash Script will get you something similar. Just place it in the /usr/sbin path and make it executable.

Read More

Nginx .pfx SSL Private Key

I was just given an .pfx private key, and to my knowledge Nginx does not support this key format. So let's convert it to an .rsa file format. If you are on linux, this is super easy using the command line openssl program. If you are on Windows, I have no idea how to do that. But you could probably upload the .pfx file to the *nix server that is running your Nginx instance, and convert the file there. So let's get started.

Read More