Too many redirect via Web Interface

Hello,

We been running this great software for years, with not much trouble in docker asseable via HTTPS NGINX proxy. But somehow from today (with no update) I got this:

/login?redirect=%2F%3F&permissions=STATUS%2CSETTINGS_READ

And too many redirect, when i access directlty in port 5000 i can see its asking now for user/password.

So i ugraded the docker image to 1.6.1 and crate accoutn via CLI and I see I can not disable Access Control now. Fine. but nginx still wont let me login or show the login page?

Any ideas?

Do we need to set hostname in octoprint so it set right cookie?

Thanks