HardServerUrl

MDriven Server adapts by looking at the incoming requests to discern what its own address is.

In certain situations this is not desired.

One example is if you have the application behind a load balancer and the load balancer pings your app with an address that is not the desired server address.

This could lead to your app getting confused to what its true url should be.

To mitigate this you can create a App_Data/HardServerUrl.xml file with content like this:

<root HardServerUrl="https://theaddressyouwantyourapplicationtohave"></root>

This functionality is available in builds from 2019-04-17

You can verify that the HardServerUrl is in effect by looking here:

2019-04-17 11h11 17.png
This page was edited 79 days ago on 02/10/2024. What links here