fix issue when installing nginx
add script to test on remote docker instance