My understanding is that the number of people who like leaving off the www exceeds the number who remember to redirect all requests correctly.
I believe the nginx server block would read something like:
server_name www.website.tld;
rewrite ^ http://website.tld$request_uri? permanent;