ngnix need small code return uri

Job ID: 34975276

Budget: £10 – £30 GBP

fix this
return 301 $scheme://$host$uri;

=
example.com/folder/work.php

I need

example.com/404.html

NO PEOPLE WHO ARE GOING TO SPEND ALL DAY ON GOOGLE NEED IT FAST
Related categories: PHP JavaScript Linux Nginx MySQL