replace default nginx config in case of centos7