mirror of
				https://github.com/TeamPiped/documentation.git
				synced 2024-08-14 23:50:09 +00:00 
			
		
		
		
	Update Traefik Example
A recent update to Traefik has made a breaking change with this configuration where the three piped domains can not be separated by commas anymore, instead the proper syntax is now an individual Host variable for each domain separated by && or ||, in this example I've opted for || as that works on my machine. Documentation for this syntax can be found here: https://doc.traefik.io/traefik/v3.0/routing/routers/#rule
This commit is contained in:
		
							parent
							
								
									ed1db90613
								
							
						
					
					
						commit
						53af2e38e6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -86,7 +86,7 @@ This must be applied on the nginx container.
 | 
			
		|||
```
 | 
			
		||||
labels:
 | 
			
		||||
  - "traefik.enable=true"
 | 
			
		||||
  - "traefik.http.routers.piped.rule=Host(`hostname`,`hostname2`,`hostname3`)"
 | 
			
		||||
  - "traefik.http.routers.piped.rule=Host(`piped.yourdomain.tld`) || Host(`pipedapi.yourdomain.tld`) || Host(`pipedproxy.yourdomain.tld`)"
 | 
			
		||||
  - "traefik.http.routers.piped.entrypoints=web"
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue