Cloudflare Redirect Loop

Enabling Cloudflare on my website ourbusandus.com cause an odd issue, which I didn't expect. While it seemed to work correctly on this website, tazdij.com on Our Bus & Us it was causing a redirect loop. I thought it was a configuration issue, so I rewrote my nginx server configurations 3 or 4 times. Turns out it had to do with having SSL enabled and a server redirect. Let's take a quick look into the problem and solution.

Read More

How To: Mount Remote Folder via SFTP

Have you ever wanted to work with files on your remote server using your favorite text editor (which doesn't support SFTP)? I know this was a struggle for me, until I switched my laptop to Linux. Now I can just mount the folders from my server to my local filesystem, and use GEdit (gnuedit). Basically Linux (and other *nix OS) is Awesome! Being able to take small applications and make them work together is a huge benefit.

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

Bypass NAT without UPnP or Port Forwarding using Tor

Have you ever needed to get applications running on a computer at home, available over the internet? I have several times, an SVN server, Chat Server, FTP server, testing HTTPd, SSH for my Raspberry Pi, just to name a few. The problem I have always face was configuring the router (or routers in most cases) to forward requests appropriately. And if I forgot to create an IP reservation for each device, come reboot time none of the configuration worked. It was a headache. Tor can actually fix this for us. While normally used for anonymity, it has some other cool features. Tor Hidden Service to be exact.

Read More