I am using umbraco 13 in aspnet core application , I hosted my project in stage server on IIS where i have assigned IP with http port and with loadbalancer it has to redirect to https , I get an error:
Boot failed - Failed to determine the https port for redirect. Can we setup umbraco with Http and how can i fix this
Thank you for the response. I removed production mode for http IP to work. But later when I got https URL , I created production appsettings json file and added settings provided from the website , now i get too many redirects error when i browse url
I created new appsettings.json file and added this , with http://10.10.10.10 IP when i browse to /umbraco ..it changes to https and with url i get too many redirects
SettingUp umbraco on IIS with http port
Hi All ,
I am using umbraco 13 in aspnet core application , I hosted my project in stage server on IIS where i have assigned IP with http port and with loadbalancer it has to redirect to https , I get an error: Boot failed - Failed to determine the https port for redirect. Can we setup umbraco with Http and how can i fix this
I belive you can use this setting https://docs.umbraco.com/umbraco-cms/reference/security/ssl-https
Thank you for the response. I removed production mode for http IP to work. But later when I got https URL , I created production appsettings json file and added settings provided from the website , now i get too many redirects error when i browse url
Just keep in mind that redirects are cached by browser - it is good idea to check in single incogntio mode in chrome.
did you change enviroment varaiable for swith to production mode?
is it this one
{ "Umbraco": { "CMS": { "Runtime": { "Mode": "Production" }, "Global": { "UseHttps": true }, "ModelsBuilder": { "ModelsMode": "Nothing" }, "WebRouting": { "UmbracoApplicationUrl": "https://stageexample>/" } } } }
I created new appsettings.json file and added this , with http://10.10.10.10 IP when i browse to /umbraco ..it changes to https and with url i get too many redirects
It worked by removing Mode:Production and Https , as we are using loadbalancer to redirect to https url , ip's and url works fine individually
is working on a reply...