Fix broken traefik docs link
Old link: https://doc.traefik.io/traefik/middlewares/forwardauth/ Replaced with: https://doc.traefik.io/traefik/middlewares/http/forwardauth/
This commit is contained in:
		
							parent
							
								
									e293dddef4
								
							
						
					
					
						commit
						d436e19183
					
				|  | @ -417,7 +417,7 @@ You have to substitute *name* with the actual cookie name you configured via --c | ||||||
| 
 | 
 | ||||||
| ### ForwardAuth with 401 errors middleware | ### ForwardAuth with 401 errors middleware | ||||||
| 
 | 
 | ||||||
| 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: | 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: | ||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| http: | http: | ||||||
|  | @ -482,7 +482,7 @@ http: | ||||||
| 
 | 
 | ||||||
| ### ForwardAuth with static upstreams configuration | ### ForwardAuth with static upstreams configuration | ||||||
| 
 | 
 | ||||||
| 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 | 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 | ||||||
| 
 | 
 | ||||||
| **Following options need to be set on `oauth2-proxy`:** | **Following options need to be set on `oauth2-proxy`:** | ||||||
| - `--upstream=static://202`: Configures a static response for authenticated sessions | - `--upstream=static://202`: Configures a static response for authenticated sessions | ||||||
|  |  | ||||||
|  | @ -371,7 +371,7 @@ You have to substitute *name* with the actual cookie name you configured via --c | ||||||
| 
 | 
 | ||||||
| ### ForwardAuth with 401 errors middleware | ### ForwardAuth with 401 errors middleware | ||||||
| 
 | 
 | ||||||
| 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: | 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: | ||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| http: | http: | ||||||
|  | @ -436,7 +436,7 @@ http: | ||||||
| 
 | 
 | ||||||
| ### ForwardAuth with static upstreams configuration | ### ForwardAuth with static upstreams configuration | ||||||
| 
 | 
 | ||||||
| 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 | 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 | ||||||
| 
 | 
 | ||||||
| **Following options need to be set on `oauth2-proxy`:** | **Following options need to be set on `oauth2-proxy`:** | ||||||
| - `--upstream=static://202`: Configures a static response for authenticated sessions | - `--upstream=static://202`: Configures a static response for authenticated sessions | ||||||
|  |  | ||||||
|  | @ -426,7 +426,7 @@ You have to substitute *name* with the actual cookie name you configured via --c | ||||||
| 
 | 
 | ||||||
| ### ForwardAuth with 401 errors middleware | ### ForwardAuth with 401 errors middleware | ||||||
| 
 | 
 | ||||||
| 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: | 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: | ||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| http: | http: | ||||||
|  | @ -491,7 +491,7 @@ http: | ||||||
| 
 | 
 | ||||||
| ### ForwardAuth with static upstreams configuration | ### ForwardAuth with static upstreams configuration | ||||||
| 
 | 
 | ||||||
| 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 | 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 | ||||||
| 
 | 
 | ||||||
| **Following options need to be set on `oauth2-proxy`:** | **Following options need to be set on `oauth2-proxy`:** | ||||||
| - `--upstream=static://202`: Configures a static response for authenticated sessions | - `--upstream=static://202`: Configures a static response for authenticated sessions | ||||||
|  |  | ||||||
|  | @ -431,7 +431,7 @@ You have to substitute *name* with the actual cookie name you configured via --c | ||||||
| 
 | 
 | ||||||
| ### ForwardAuth with 401 errors middleware | ### ForwardAuth with 401 errors middleware | ||||||
| 
 | 
 | ||||||
| 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: | 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: | ||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| http: | http: | ||||||
|  | @ -496,7 +496,7 @@ http: | ||||||
| 
 | 
 | ||||||
| ### ForwardAuth with static upstreams configuration | ### ForwardAuth with static upstreams configuration | ||||||
| 
 | 
 | ||||||
| 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 | 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 | ||||||
| 
 | 
 | ||||||
| **Following options need to be set on `oauth2-proxy`:** | **Following options need to be set on `oauth2-proxy`:** | ||||||
| - `--upstream=static://202`: Configures a static response for authenticated sessions | - `--upstream=static://202`: Configures a static response for authenticated sessions | ||||||
|  |  | ||||||
|  | @ -436,7 +436,7 @@ You have to substitute *name* with the actual cookie name you configured via --c | ||||||
| 
 | 
 | ||||||
| ### ForwardAuth with 401 errors middleware | ### ForwardAuth with 401 errors middleware | ||||||
| 
 | 
 | ||||||
| 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: | 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: | ||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| http: | http: | ||||||
|  | @ -501,7 +501,7 @@ http: | ||||||
| 
 | 
 | ||||||
| ### ForwardAuth with static upstreams configuration | ### ForwardAuth with static upstreams configuration | ||||||
| 
 | 
 | ||||||
| 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 | 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 | ||||||
| 
 | 
 | ||||||
| **Following options need to be set on `oauth2-proxy`:** | **Following options need to be set on `oauth2-proxy`:** | ||||||
| - `--upstream=static://202`: Configures a static response for authenticated sessions | - `--upstream=static://202`: Configures a static response for authenticated sessions | ||||||
|  |  | ||||||
|  | @ -439,7 +439,7 @@ You have to substitute *name* with the actual cookie name you configured via --c | ||||||
| 
 | 
 | ||||||
| ### ForwardAuth with 401 errors middleware | ### ForwardAuth with 401 errors middleware | ||||||
| 
 | 
 | ||||||
| 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: | 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: | ||||||
| 
 | 
 | ||||||
| ```yaml | ```yaml | ||||||
| http: | http: | ||||||
|  | @ -504,7 +504,7 @@ http: | ||||||
| 
 | 
 | ||||||
| ### ForwardAuth with static upstreams configuration | ### ForwardAuth with static upstreams configuration | ||||||
| 
 | 
 | ||||||
| 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 | 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 | ||||||
| 
 | 
 | ||||||
| **Following options need to be set on `oauth2-proxy`:** | **Following options need to be set on `oauth2-proxy`:** | ||||||
| - `--upstream=static://202`: Configures a static response for authenticated sessions | - `--upstream=static://202`: Configures a static response for authenticated sessions | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue