@@ -442,7 +442,7 @@ You have to substitute *name* with the actual cookie name you configured via --c
443### ForwardAuth with 401 errors middleware
443### ForwardAuth with 401 errors middleware
445−The [Traefik v2 `ForwardAuth` middleware](https://doc.traefik.io/traefik/middlewares/forwardauth/) allows Traefik to authenticate requests via the oauth2-proxy's `/oauth2/auth` endpoint on every request, which only returns a 202 Accepted response or a 401 Unauthorized response without proxying the whole request through. For example, on Dynamic File (YAML) Configuration:
445+The [Traefik v2 `ForwardAuth` middleware](https://doc.traefik.io/traefik/middlewares/http/forwardauth/) allows Traefik to authenticate requests via the oauth2-proxy's `/oauth2/auth` endpoint on every request, which only returns a 202 Accepted response or a 401 Unauthorized response without proxying the whole request through. For example, on Dynamic File (YAML) Configuration:
@@ -507,7 +507,7 @@ http:
508### ForwardAuth with static upstreams configuration
508### ForwardAuth with static upstreams configuration
510−Redirect to sign_in functionality provided without the use of `errors` middleware with [Traefik v2 `ForwardAuth` middleware](https://doc.traefik.io/traefik/middlewares/forwardauth/) pointing to oauth2-proxy service's `/` endpoint
510+Redirect to sign_in functionality provided without the use of `errors` middleware with [Traefik v2 `ForwardAuth` middleware](https://doc.traefik.io/traefik/middlewares/http/forwardauth/) pointing to oauth2-proxy service's `/` endpoint
512**Following options need to be set on `oauth2-proxy`:**
512**Following options need to be set on `oauth2-proxy`:**
513- `--upstream=static://202`: Configures a static response for authenticated sessions
513- `--upstream=static://202`: Configures a static response for authenticated sessions