HTTPS redirecting for a specific project from local to remote domain

One project at our local domain was moved to gitlab.com.
I need to find a way to configure the web portion (Nginx) to redirect it from our local domain to gitlab.com as well.