All articles tagged as:

Nginx

Nginx: stable or dev?

This is an old post. It may contain broken links and outdated information. Like most open source projects, Nginx has more than one "branch" of code—that is, more than one version available for public consumption. Ignoring platform-specific versions, the two main branches are "stable", and "development". This is a common dichotomy. For projects divided thusly, the "stable" branch is intended to be a thoroughly tested, minimally-bugged, production-ready version of the application which can be deployed in real life. Conversely, the "development" b…

Read some more »

Embedding images in CSS

This is an old post. It may contain broken links and outdated information. I've mentioned before that I'm CSS-stupid, and the practical effect of not knowing how to do damn near anything means that even small modifications to the Bigdinosaur.org main site usually involve a tremendous amount of reading and experimentation. I've stuck firmly to the current school of thought in web design, which is that HTML is purely for content, and layout should be done exclusively with CSS, and I've managed to produce a very simple but nice-looking site as a result. However, running the site through a few web…

Read some more »

Changing Octopress's header

This is an old post. It may contain broken links and outdated information. I've been wanting to modify Octopress's default layout for a few days, and had time this afternoon to sit down and puzzle it out. I'm about as facile with CSS as I am with German—I can ask for directions to the closest schnitzelhaus and possibly apologize for accidentally spilling beer on someone's wife—so this was a process involving a lot of trial and error. Changing around the background colors was easy, and I'll touch on that first, but what sent me down an entire series of rabbit holes was trying to figure out how…

Read some more »

Custom error pages

This is an old post. It may contain broken links and outdated information. We gain a lot of quick flexibility with running Nginx on our back-end. I'm sure that there are ways to make Ruby & Ruby Rack do lots of nifty things, including fancy rewrites (and indeed theres a good amount of information out there to show you how to do just that), but it's always going to be faster and more efficient to let the web server handle redirects and rewrites where possible, since it can do those kinds of things without having to pass information up and down the stack to another process. Rewrites are a ri…

Read some more »

Octopress and Nginx

This is an old post. It may contain broken links and outdated information. Getting Octopress set up took a bit more time than I was expecting, because of the missing libraries issues I encountered. Fortunately, actually putting Octopress published and visible on the web took a lot less time. The Bigdinosaur.org web server runs the latest stable version of Nginx, an event-driven web server which serves static pages faster than a fat kid eats pancakes. Nginx has a roughly similar concept of virtual hosts as Apache does, and because Octopress doesn't require any databases and doesn't use PHP or p…

Read some more »