From 6d254281f842883588005f7023e28e86104151b8 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 1 Jun 2026 10:43:04 +0200 Subject: [PATCH] Update ReverseProxy config and adjust destination address Added a new `ReverseProxy` section in `appsettings.Development.json` to define the `receiver-ui` cluster with a destination pointing to `https://localhost:52936`. Reformatted the `Logging` configuration without changing its values. Updated the `yarp.json` file to modify the `receiver-ui` cluster's destination address from `https://localhost:52936` to `http://172.24.12.39:1234` to reflect the new backend service location. --- .../appsettings.Development.json | 21 ++++++++++++++----- EnvelopeGenerator.API/yarp.json | 2 +- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/EnvelopeGenerator.API/appsettings.Development.json b/EnvelopeGenerator.API/appsettings.Development.json index f3350f57..dce89096 100644 --- a/EnvelopeGenerator.API/appsettings.Development.json +++ b/EnvelopeGenerator.API/appsettings.Development.json @@ -1,10 +1,21 @@ { - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" +"Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } +}, +"ReverseProxy": { + "Clusters": { + "receiver-ui": { + "Destinations": { + "primary": { + "Address": "https://localhost:52936" + } + } } - }, + } +}, "AuthClientParams": { "Url": "http://172.24.12.39:9090/auth-hub", "PublicKeys": [ diff --git a/EnvelopeGenerator.API/yarp.json b/EnvelopeGenerator.API/yarp.json index 954846a3..50711027 100644 --- a/EnvelopeGenerator.API/yarp.json +++ b/EnvelopeGenerator.API/yarp.json @@ -83,7 +83,7 @@ "receiver-ui": { "Destinations": { "primary": { - "Address": "https://localhost:52936" + "Address": "http://172.24.12.39:1234" } } },