Next.js Discord

Discord Forum

[Self-host] Missing x-forwarded-for using Caddy

Unanswered
Persian posted this in #help-forum
Open in Discord
PersianOP
I'm trying to self-host a Next.js app using Coolify with Caddy as the proxy. Everything works great, except I can't find a way to make the solution provided here work: https://nextjs.org/docs/app/api-reference/functions/headers#ip-address.

1 Reply