File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -259,38 +259,21 @@ An optional route prefix can be provided during configuration.
259259#### ` UseSelfSignedCertificate() `
260260Enables automatic self-signed certificate generation for HTTPS endpoints.
261261
262- ``` csharp
263- builder .WebHost .ConfigureKestrel (options =>
264- {
265- options .UseSelfSignedCertificate ();
266- });
267- ```
268-
269262#### ` ConfigureReverseProxy() `
270263Registers reverse proxy services in the DI container.
271264
272- ``` csharp
273- builder .Services .ConfigureReverseProxy (builder .Configuration );
274- ```
265+ #### ` UseReverseProxy() `
266+ Adds the reverse proxy middleware.
275267
276268#### ` UseReverseProxyApi() `
277269Maps the runtime configuration API endpoints with an optional route prefix.
278270
279- ``` csharp
280- app .UseReverseProxyApi (routePrefix : " /api" );
281- ```
271+ #### ` UseBlackholeCatchAll() `
272+ Adds a blackhole route that causes unmatched routes to be ignored.
282273
283274#### ` WithReverseProxyReference() `
284275Configures Aspire service discovery for a resource service.
285276
286- ``` csharp
287- reverseProxy .WithReverseProxyReference (
288- serviceName : " my-service" ,
289- endpoint : service .GetEndpoint (" http" ),
290- hostName : " my-service.local"
291- );
292- ```
293-
294277## Troubleshooting
295278
296279### Certificate trust issues
You can’t perform that action at this time.
0 commit comments