it's possibile to get connection string to set hangfire by url?

Hi, I have several websites sharing one .net core MVC program, in the same folder and running on the iis

Could you help me to set the right connection string on hangfire?

regarding the connection string for entity framework, I created a scoped service and I can easily take the connectionstring from the appsetting based on the url

I can’t do it for hangfire, does anyone have any ideas?