File size: 412 Bytes
d6f27e0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
	email {$ACME_EMAIL}
}

# HTTPS certificates are issued and renewed automatically for API_DOMAIN (set in .env.prod).
{$API_DOMAIN} {
	encode zstd gzip

	reverse_proxy api:8000 {
		# Stream job progress and chat (server sent events) instead of buffering them.
		flush_interval -1
		transport http {
			read_timeout 0
		}
	}

	# Uploads (voice samples, files) can be large.
	request_body {
		max_size 220MB
	}
}