Added nginx support
Adding nginx support and settings file support.