32 lines
		
	
	
		
			865 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			865 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ```yaml
 | |
| http:
 | |
|   middlewares:
 | |
|     authentik:
 | |
|       forwardAuth:
 | |
|         address: http://outpost.company:9000/akprox/auth/traefik
 | |
|         trustForwardHeader: true
 | |
|         authResponseHeaders:
 | |
|           - X-authentik-username
 | |
|           - X-authentik-groups
 | |
|           - X-authentik-email
 | |
|           - X-authentik-name
 | |
|           - X-authentik-uid
 | |
|           - X-authentik-jwt
 | |
|           - X-authentik-meta-jwks
 | |
|           - X-authentik-meta-outpost
 | |
|           - X-authentik-meta-provider
 | |
|           - X-authentik-meta-app
 | |
|           - X-authentik-meta-version
 | |
|   routers:
 | |
|     default-router:
 | |
|       rule: "Host(`app.company`)"
 | |
|       middlewares:
 | |
|         - name: authentik
 | |
|       priority: 10
 | |
|       services: # Unchanged
 | |
|     default-router-auth:
 | |
|       match: "Host(`app.company`) && PathPrefix(`/akprox/`)"
 | |
|       priority: 15
 | |
|       services: http://outpost.company:9000/akprox
 | |
| ```
 | 
