Need to add code to the Nginx config file for Yoast

I switched back to Yoast SEO. Now that I’m on Nginx, they say I need to add the following to the Nginx config file:

‘include /var/web/site/public_html/wp-content/uploads/wpseo-redirects/.redirects’