2

I am working with Ocelot proxy, I have a problem with reloadOnChange on azure linux app service. When changing the json configuration, they are not reflected until restarting the app service.

It working fine locally and when trying it on an azure windows app service.

The code I am using is

.ConfigureAppConfiguration((hostingContext, config) =>
{
    config.AddJsonFile($"ocelot.json", false, true);
})
Tim
  • 2,587
  • 13
  • 18
Ghyath Serhal
  • 7,466
  • 6
  • 44
  • 60

1 Answers1

0

Actually I found a walkaround to solve this problem as mentioned in the below urls

kubernetes-reload-your-aspnet-core

ConfigMapFileProvider

Ghyath Serhal
  • 7,466
  • 6
  • 44
  • 60