modfing unless check for redis kestrel and apache