Nginx: Added regression tests
Nginx: Fixed redirect action(phase 1,2,3,4) and wrong request_uri