Alternative to modifying the NGINX config

A plugin is requiring me to edit the NGINX config file to add a redirect rule to the folder:

wp-content/uploads/edd/

It is the easy digital downloads plugin and the rule is:

rewrite ^/wp-content/uploads/edd/(.*).zip$ / permanent;

Are there any other options of doing this not in the nginx config?

Thanks in advance!