refactor: add custom request header for betterbahn service
This commit is contained in:
		
							parent
							
								
									e558caaa1b
								
							
						
					
					
						commit
						e9d4569553
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -19,6 +19,8 @@ services:
 | 
				
			||||||
      - "traefik.http.routers.betterbahn-app-websecure.tls=true"
 | 
					      - "traefik.http.routers.betterbahn-app-websecure.tls=true"
 | 
				
			||||||
      - "traefik.http.routers.betterbahn-app-websecure.tls.certresolver=hetzner"
 | 
					      - "traefik.http.routers.betterbahn-app-websecure.tls.certresolver=hetzner"
 | 
				
			||||||
      - "traefik.http.routers.betterbahn-app-websecure.tls.domains[0].main=${TLS_DOMAIN}"
 | 
					      - "traefik.http.routers.betterbahn-app-websecure.tls.domains[0].main=${TLS_DOMAIN}"
 | 
				
			||||||
 | 
					      - "traefik.http.middlewares.betterbahn-app-hostheader.headers.customrequestheaders.Host=localhost:3000"
 | 
				
			||||||
 | 
					      - "traefik.http.routers.betterbahn-app-websecure.middlewares=secHeaders@file, autodetectContenttype@file, authentikProd@file, betterbahn-app-hostheader"
 | 
				
			||||||
  # whoami:
 | 
					  # whoami:
 | 
				
			||||||
  #   image: traefik/whoami
 | 
					  #   image: traefik/whoami
 | 
				
			||||||
  #   networks:
 | 
					  #   networks:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue