forked from sozu-proxy/sozu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
53 lines (44 loc) · 1.5 KB
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# sozu proxy test config file
command_socket = "./command_folder/sock"
saved_state = "./state.json"
log_level = "info"
log_target = "stdout"
#log_target = "udp://127.0.0.1:9876"
#log_target = "tcp://127.0.0.1:9876"
command_buffer_size = 16384
[metrics]
address = "192.168.59.103"
port = 8125
[proxies]
[proxies.HTTP]
address = "127.0.0.1"
proxy_type = "HTTP"
max_connections = 500
port = 8080
buffer_size = 16384
worker_count = 2
#answer_404 = "./404.html"
#answer_503 = "./503.html"
[proxies.TLS]
address = "127.0.0.1"
proxy_type = "HTTPS"
max_connections = 500
port = 8443
buffer_size = 16384
default_app_id = "MyApp"
#tls_versions = ["TLSv1.2"]
#cipher_list = "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256"
#default_certificate = "../assets/cert_test.pem"
#default_certificate_chain = "../assets/cert__chain_test.pem"
#default_key = "../assets/key_test.pem"
#answer_404 = "../assets/404.html"
#answer_503 = "../assets/503.html"
[applications]
[applications.MyApp]
hostname = "lolcatho.st"
#path_begin = "/api" # optional
certificate = "../assets/certificate.pem" # optional
key = "../assets/key.pem" # optional
certificate_chain = "../assets/certificate_chain.pem" # optional
frontends = ["HTTP", "TLS"] # list of proxy tags
backends = [ "127.0.0.1:1026" ] # list of IP/port