test/integration/configs/worker-proxy.inc
raw| 1 | #Proxy worker configuration |
| 2 | |
| 3 | bind_socket = "*:50004"; |
| 4 | count = 1; |
| 5 | timeout = 120s; |
| 6 | upstream "local" { |
| 7 | default = yes; |
| 8 | self_scan = no; |
| 9 | hosts = "localhost:50001"; |
| 10 | encryption_key = "{= env.WORKER_PUBKEY =}"; |
| 11 | } |
| 12 | |
| 13 | milter = no; |
| 14 | |
| 15 | #Enable encryption for proxy connections |
| 16 | keypair { |
| 17 | pubkey = "{= env.PROXY_PUBKEY =}"; |
| 18 | privkey = "{= env.PROXY_PRIVKEY =}"; |
| 19 | } |