Fix travis file

Add “nginx restart” before script run
Travis fix

“daemon off"  blocked shell, so keep it only for docker