HardServerUrl
(Created page with "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 app...")
 
No edit summary
Line 1: Line 1:
MDriven Server adapts by looking at the incoming requests to discern what its own address is.  
MDriven Server (and TurnkeyServer) adapts by looking at the incoming requests to discern what its own address is.  


In certain situations this is not desired.  
In certain situations this is not desired.  

Revision as of 08:38, 9 October 2020

MDriven Server (and TurnkeyServer) 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 96 days ago on 02/10/2024. What links here