please check your settings in System | Settings | Administration.You probably need to disable the web GUI redirect rule and use a custom port for it. Check the help tips.
I just put up traefik in front of my opnense. Had the same issue. I had to add the Alternate host name I was using under System: Settings:Administration.