adds the nginx server config, removes the non-https redirects