Inveigled By Design

The art of persuasive design

Rewriting a location in Nginx

For some reason I had a tough time finding this one, so for my own future use and in case it helps anyone else, here’s how you rewrite a url inside an nginx config file.
Calling the old url OldUrl and the url to map to newUrl, here it is:

server {
listen 80;
[...]

Setting up and Testing Php on Nginx

In the previous article, we set up Nginx with Ruby Enterprise Edition and Passenger support. Now we need to get php running if we want to run wordpress or drupal or other php-based sites. We’ll also add mysql so we have a database back end for these sites
Installing mysql:
This is pretty simple, do [...]

Setting up Nginx with Ruby on Rails using Passenger and Ruby Enterprise Edition

In the first article of this series I reviewed the steps I took to secure the server and get a basic, reasonably secure set up. The next step is to get Nginx setup for ruby. I chose Nginx because of it’s low memory usage, which is important when trying to squeeze the most [...]

Creative Commons License
Content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 License
Copyright © 2009 Inveigled Software