fix(documentation): Update documentation to use certProviderFunction instead of certProvider in SmartProxy settings.

This commit is contained in:
2025-05-05 10:30:08 +00:00
parent 2e4c6312cd
commit adb85d920f
3 changed files with 9 additions and 3 deletions

View File

@ -384,7 +384,7 @@ Listen for certificate events via EventEmitter:
- **SmartProxy**:
- `certificate` (domain, publicKey, privateKey, expiryDate, source, isRenewal)
Provide a `certProvider(domain)` in SmartProxy settings to supply static certs or return `'http01'`.
Provide a `certProviderFunction(domain)` in SmartProxy settings to supply static certs or return `'http01'`.
## Configuration Options
@ -429,7 +429,7 @@ Provide a `certProvider(domain)` in SmartProxy settings to supply static certs o
- `sniEnabled`, `defaultAllowedIPs`, `preserveSourceIP` (booleans)
- Timeouts: `initialDataTimeout`, `socketTimeout`, `inactivityTimeout`, etc.
- Socket opts: `noDelay`, `keepAlive`, `enableKeepAliveProbes`
- `acme` (IAcmeOptions), `certProvider` (callback)
- `acme` (IAcmeOptions), `certProviderFunction` (callback)
- `useNetworkProxy` (number[]), `networkProxyPort` (number)
## Troubleshooting