Make proxy_redirect configurable