Improved build script
Added Nginx regression test
Nginx: Improved redirect action work for phases except log