[Feature Request] handle CF-Connecting-IP when running behind Cloudflare #405
-
Since Vercel don't support ipv6 now, you need a reverse proxy (like Cloudflare) to make a waline instance to be accessible via ipv6. But here comes a problem: When running behind reverse proxy, waline records origin ip as Cloudflare's. Letting waline handle |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Emm, though it's a nice catch, but I would recommend you use self host env if you need ipv6. |
Beta Was this translation helpful? Give feedback.
-
Waline has been read https://github.com/walinejs/waline/blob/main/packages/server/src/controller/comment.js#L234 |
Beta Was this translation helpful? Give feedback.
-
I self-hosted a waline instance, and ip recording works now(when proxied by Cloudflare), so the problem seems to be a Vercel problem. LOL |
Beta Was this translation helpful? Give feedback.
I self-hosted a waline instance, and ip recording works now(when proxied by Cloudflare), so the problem seems to be a Vercel problem. LOL