You have chosen to sponsor your bid up to a maximum amount of .
I have a lot of URLS ending in http://www.domain.com/test.html or http://www.domain.com/test which I need to redirect to different url's
I am using NGINX version nginx/1.4.2
I need to setup proper redirect for all those urls or some command which can detect 404 and then forward all those urls to main page.
I just need example and the rest I can do as long as they redirect properly without any loop error.