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;
[...]
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 [...]
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 [...]
After much frustration with trying to work within the confines of a shared host, I’ve taken the plunge and set up my own server on a linode. I looked around at VPS providers, tried a few, and ended up with linode because of their configuration options, pricing, and choice of either 32 bit or [...]
I spent some time over the last week or so setting up Subversion 1.5.5 and Trac 0.11.1 on my hosted site on a shared linux server. It was a bit tricky and most of the posts I’ve found thus far are a bit out of date, so I thought I’d write one up in [...]