Disable "Force Secure Redirect" from terminal


We were configuring SSL on our gateway and apparently some SSL configuration was not done correctly. Since "Force Secure Redirect" was enabled, we are no longer able to access the gateway.

Is there any way to disable it from the outside?

The gateway is mounted on Docker.


Modify the value of the gateway.forceSecureRedirect key in data/gateway.xml.

Good! That solved the issue!

1 - Access terminal (from Docker Desktop, in our case):

nano data/gateway.xml

2 - Modify value
3 - Ctrl+X
4 - Save

If nano is not installed, access from the windows terminal and execute:

docker exec -it -u root be96 /bin/bash
apt-get update
apt-get install nano