# Nextjs behind traefik2 on k8s

**URL:** <https://community.traefik.io/t/nextjs-behind-traefik2-on-k8s/7417>\
**Category:** Traefik v2\
**Tags:** kubernetes-ingress, middleware\
**Created:** [August 26, 2020, 9:08am UTC](https://community.traefik.io/t/nextjs-behind-traefik2-on-k8s/7417 "2020-08-26T09:08:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wortkotze](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/wortkotze/32/2480_2.png) [@wortkotze](https://community.traefik.io/u/wortkotze)\
**Post date:** [August 26, 2020, 9:08am UTC](https://community.traefik.io/t/nextjs-behind-traefik2-on-k8s/7417/1 "2020-08-26T09:08:49Z")

</div>

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
