mirror of
				https://github.com/9001/copyparty.git
				synced 2025-10-31 04:32:20 -06:00 
			
		
		
		
	if an upload takes longer than 60 seconds, by default, traefik closes the connection thx to @JuvenoiaAgent@lemmy.ca for catching this
		
			
				
	
	
		
			26 lines
		
	
	
		
			511 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			511 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # ./traefik --configFile=copyparty.yaml
 | |
| 
 | |
| entryPoints:
 | |
|   web:
 | |
|     address: :8080
 | |
|     transport:
 | |
|       # don't disconnect during big uploads
 | |
|       respondingTimeouts:
 | |
|         readTimeout: "0s"
 | |
| log:
 | |
|   level: DEBUG
 | |
| providers:
 | |
|   file:
 | |
|     # WARNING: must be same filename as current file
 | |
|     filename: "copyparty.yaml"
 | |
| http:
 | |
|   services:
 | |
|     service-cpp:
 | |
|       loadBalancer:
 | |
|         servers:
 | |
|           - url: "http://127.0.0.1:3923/"
 | |
|   routers:
 | |
|     my-router:
 | |
|       rule: "PathPrefix(`/`)"
 | |
|       service: service-cpp
 |