(2012-11-20) Simplest Thing Nginx Redirects

Simplest Thing server has been working: 2012-10-16-SettingUpHostingFor[[Simplest Thing]]

But wanted to set up some basic redirects so that simplest-thing/* or www.simplest-thing.com/* would redirect to 3f.simplest-thing.com/$1. Likewise *.familyfinancialfuture.com/*.

Copied nginx.conf to another name (nginx.conf.20121022b) for safety, then edited file per this (confirmed by this).

Restarted NginX - uh-oh server not responding. Do some mucking around, decide I don't have a clue what I'm doing, so bring back copied archive of conf file and restart again. Still not working! (Do I need to restart both nginx and uwsgi? Tried both, still no good.)

Update: hrm my friend restarted and it worked fine. I restarted and it worked fine. I made my changes and restarted and it worked fine. Grrr.


Edited:    |       |    Search Twitter for discussion

No twinpages!