Changing the default URL in Nginx

We have already a default url to a home page.

Is it possible to setup automatically the default URL of ERPNEXT to be like and not ??

I want to avoid editing the generated nginx config to make manual changes.

You have to do this manually.