refine nginx and unicorn config files to make them more portable