Posts Tagged ‘ nginx ’

How to make an automated connection checker and IP blocker for your server

Mar 23rd, 2013 | By

I like to think of it as a door man for my server, or my little centurion 🙂  What this little guy does is checked the last 5 hours of access logs to your server to see if there are any IP’s that are hitting your server an unusually high amount of times.  If it
[continue reading…]



Properly setting up an SSL cert for a site running on a Debian/Linux server with Apache 2.2, mod_ssl and Nginx

Jan 17th, 2013 | By

Well after doing this and redoing it again and spending way too much time re-learning how to do it the second time I’m just going to bite the bullet and take the extra hour to blog about the process so that  next time I can just follow my easy step-by-step guide(and hopefully you can too
[continue reading…]



Preventing a server melt-down and saving resources: Block all Shit bot

Oct 11th, 2012 | By

Alright, I woke up today to a load average of 75.. Seventy-fucking-FIVE.  I didn’t even know that shit was possible and I’m pretty sure the guys at the DC were probably roasting marshmellows over my glowing box.  I couldn’t believe it so into my server I went, waiting 5 minuets for every command I typed
[continue reading…]



WordPress Multisite and Nginx don’t play nice together

Feb 20th, 2012 | By

So you’ve just installed or upgraded to WordPress Multisite and upon checking out your first network site you are greeted with a page full of broken images.  Wondering why?  Well if you are using Nginx and apache chances are you’ll need to tell nginx to stop running on that domain, or at leaset tone it
[continue reading…]



Moving a live production web server from Ubuntu 11.04 to Debian 6.0.3

Jan 7th, 2012 | By

So 2 weeks ago I sadly moved my main server from FreeBSD 8.1 to a temporary home on an Ubuntu 11.04 VPS.  I say sadly because I’ve been using BSD for 10 years and in terms of stability and security I understand that it can’t be beat.. I also think I’m sad to see it
[continue reading…]



Lessons learned about speeding up WordPress and an apache webserver in general

Nov 8th, 2011 | By

Alright so I’ve been struggling with this for quite some time.  I run 60-70 wordpress blogs that make up a large network of travel websites providing information on news, restaurants, hotels, events and job postings for every major city in north america.  Chances are if you’ve searched one of those things for a particular city
[continue reading…]



Open SSL takes 60% of my sites offline with 502 errors

Jul 28th, 2011 | By

So I was installing postfix and a bunch of other things to setup a mail server last night and at one point, for whatever reason, I thought I needed open SSL installed on there so I did.  It was one of about 5 or 6 ports I installed and a small event in a 3-4
[continue reading…]



Drupal Nightmare #1: Imagecache not generating thumbs

May 11th, 2011 | By

Holy good god almight this was a nightmare, the biggest problem i’ve had with drupal to date, a 13 hour marathon just to figure this beast out.. ugh.. So if you’re having troubles with Imagecache not properly generating thumbnails for you, it keeps on referring to directories like files/imagecache/presetName/ that dont’ exist then you might
[continue reading…]



Drupal and Me: Chapter 8 – Large File uploads causing Server connection to Reset

Jul 6th, 2010 | By

Well this was a jolly good problem that took 4 hours to fix. I’ve implemented the Audio Module this week to allow our Sound team to upload soundtrack, foley and effects work just the same as the 2D and 3D guys upload their work.  Unfortunately when I went to upload a 40MB .ogg file the
[continue reading…]