Adding charset utf-8; in the server {} declaration of NGINX configuration file is everything you need to do. But setting the charset might not work if you do not set "charset_types" directive which you want UTF-8. You might have to also adjust the charset_types setting to include the mime type you want to set the charset setting for.