Locked out of web admin after setting Proxy Trusted Networks

I am running Stalwart 0.16.24 on Docker. I set the AdminUI > Settings > Network > General > Proxy > Trusted Networks value to 10.0.0.0/8 and now I can no longer access web admin both internal and external (Nginx Proxy Manager). NPM is proxying my mail DNS to the Docker host on port 443. I tried to change to http and port 8080, still locked out. I tried to access the Docker host internally via http://localip:8080 and https://localip:443 still nothing. I need to remove that trusted network, but how do I access the RocksDB configuration to remove that particular setting so I can log back in?

Log entry:

2026-09-28T12:26:46Z WARN Proxy protocol error (network.proxy-error) listenerId = “https”, localIp = ::, localPort = 443, tls = true, reason = “invalid proxy header”

Resolved! I was able to add the following to my “environment” section in the Docker compose file, then access the admin UI on port 8080 and revert the setting:

STALWART_RECOVERY_MODE=1
STALWART_RECOVERY_ADMIN=admin:password