 f2293c0f5b
			
		
	
	f2293c0f5b
	
	
	
		
			
			* Update syntax in traefik standalone example Signed-off-by: Thomas Moschny <thomas.moschny@gmx.de> * One more syntax update Signed-off-by: Thomas Moschny <thomas.moschny@gmx.de> --------- Signed-off-by: Thomas Moschny <thomas.moschny@gmx.de>
		
			
				
	
	
		
			41 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ```yaml
 | |
| http:
 | |
|     middlewares:
 | |
|         authentik:
 | |
|             forwardAuth:
 | |
|                 address: http://outpost.company:9000/outpost.goauthentik.io/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:
 | |
|                 - authentik
 | |
|             priority: 10
 | |
|             service: app
 | |
|         default-router-auth:
 | |
|             rule: "Host(`app.company`) && PathPrefix(`/outpost.goauthentik.io/`)"
 | |
|             priority: 15
 | |
|             service: authentik
 | |
|     services:
 | |
|         app:
 | |
|             loadBalancer:
 | |
|                 servers:
 | |
|                     - url: http://ipp.internal
 | |
|         authentik:
 | |
|             loadBalancer:
 | |
|                 servers:
 | |
|                     - url: http://outpost.company:9000/outpost.goauthentik.io
 | |
| ```
 |