added some config magic for nginx.conf, more work to do