Redirect /login to /auth/ldap

In the end I put this:

# Permanent redirect to an individual page
rewrite ^/login$ http://mydomain.tld/auth/ldap permanent;

to
/etc/nginx/conf.d/mydomain.tld.d/redirect.conf

I am running Discourse on Yunohost, so it is run through nginx. Would be nice if Discourse did this automatically:-).