Fixed nginx setup script and config.