Help me figure it out, I want to change the look of the user profile link
now it looks like site.com/user/usernane
I want site.com/user/1
You're not able to change the routing in such a way, because then users whose names are only numbers cannot be accessed.
Best bet is to set up a rewrite rule in nginx to send users requesting /user/\d+ to /uid/1