Only login on ipv4 but not on subdomain ssl

I can login at 192.168.1.155:20720/admin/login I can also resolve domain.com/admin/login, I see the login page but I can't login, it keeps thinking, no error or anything, I enter the right password and it keeps thinking, I enter the wrong password and it does the same.

Note: I use cloudfared tunnel proxied so that when I put domain.com/admin/login in the browser it internally resolves to the ip 192.168.1.155:20720/admin/login.