Making the Origin Setable

There is also some refactoring so I coudl stick a proxy inside as well.
I agree, the reason I moved the host out was I was trying to use nginx on my local machine as a caching reverse proxy so I would not be hammering matrix for testing.  Also I ran out of time because my toddler woke up.