octoberCMS | Turf off backend redirect to secure protocol

- 1 answer

Ad

I discovered that when I turn OFF the debugging mode on my application, /config/app.php

enter image description here

The backend starts using secure protocol... And I have problems with that because on some websites it's works well: (and on that example I really don't know why secure protocol is valid)

enter image description here

And with other websites I have big problems, bacause It's redirect to another pages... Here's an example:enter image description here

How can I turn the redirect to secure protocol with OFF debuging mode?

Ad

Answer

Ad

Try set

'backendForceSecure' => false 

in config/cms.php

Ad
source: stackoverflow.com
Ad