-
Hi, how can I specify HTTP client settings for YARP proxy service running in Service Fabric cluster? For example:
I can see the Proxy HTTP Client Configuration section has documentation on how to configure those settings for each cluster, but in case of Service Fabric the clusters are auto-discovered and not configured in the configuration files. In the SF service enlistment section there is option for specifying HTTP request settings (timeout, etc) for the backend services but no client certificates and other settings. Is using a Custom IProxyHttpClientFactory the suggested way for this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Here's the code that maps those options (new in preview 10, #787): Client certificates aren't supported in this model, you'll need to use a custom factory for those. #869 should make that easier. |
Beta Was this translation helpful? Give feedback.
Here's the code that maps those options (new in preview 10, #787):
reverse-proxy/src/ReverseProxy.ServiceFabric/ServiceDiscovery/Util/LabelsParser.cs
Lines 310 to 326 in c3c0407