Nextjs behind traefik2 on k8s

Hi,

I try to to run an nextjs backend behind traefik and k8s.
Has anyone probably an example configuration that he is using. I'm always running into issues with the relative pathes etc? thx Stephan