# Stack Overflow [docker]: Next.js + Better Auth Successful Login (200 OK) but Server Component redirecting back to /sign-in (Redirect Loop behind Nginx) — retained record

> Retained stackexchange record from stackexchange.

Canonical: https://highsignal.app/data/records/e571915267ff5cbd

[← sources](https://highsignal.app/data)


source: [stackexchange](https://highsignal.app/data/stackexchange) published 2026-06-18 03:46 ingested 2026-06-28 12:39

[original source ↗](https://stackoverflow.com/questions/79962440/next-js-better-auth-successful-login-200-ok-but-server-component-redirecting)

## retained text



```
Score: 1 | Answers: 0 | Views: 64
Tags: docker, nginx, next.js
Next.js + Better Auth Successful Login (200 OK) but Server Component redirecting back to /sign-in (Redirect Loop behind Nginx)
```



document fetched 2026-07-17 08:01
