|
1 | | -# Appwrite Protocol Proxy |
| 1 | +# Utopia Proxy |
2 | 2 |
|
3 | 3 | High-performance, protocol-agnostic proxy built on Swoole for blazing fast connection management across HTTP, TCP, and SMTP protocols. |
4 | 4 |
|
@@ -238,9 +238,9 @@ use Utopia\Proxy\Server\TCP\TLS; |
238 | 238 | use Utopia\Proxy\Server\TCP\Swoole as TCPServer; |
239 | 239 |
|
240 | 240 | $tls = new TLS( |
241 | | - certPath: '/certs/server.crt', |
242 | | - keyPath: '/certs/server.key', |
243 | | - caPath: '/certs/ca.crt', // Optional: for mTLS |
| 241 | + certificate: '/certs/server.crt', |
| 242 | + key: '/certs/server.key', |
| 243 | + ca: '/certs/ca.crt', // Optional: for mTLS |
244 | 244 | requireClientCert: true, // Optional: require client certs |
245 | 245 | ); |
246 | 246 |
|
@@ -310,7 +310,7 @@ $config = new Config( |
310 | 310 | socketBufferSize: 16 * 1024 * 1024, |
311 | 311 | bufferOutputSize: 16 * 1024 * 1024, |
312 | 312 | recvBufferSize: 131_072, |
313 | | - backendConnectTimeout: 5.0, |
| 313 | + connectTimeout: 5.0, |
314 | 314 | readWriteSplit: false, |
315 | 315 | skipValidation: false, |
316 | 316 | tls: null, |
@@ -390,7 +390,7 @@ composer check |
390 | 390 |
|
391 | 391 | ``` |
392 | 392 | ┌─────────────────────────────────────────────────────────────────┐ |
393 | | -│ Protocol Proxy │ |
| 393 | +│ Utopia Proxy │ |
394 | 394 | ├─────────────────────────────────────────────────────────────────┤ |
395 | 395 | │ │ |
396 | 396 | │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ |
|
0 commit comments