Eunoia
Eunoia
CDCloudflare Developers
Created by Eunoia on 7/14/2024 in #pages-help
Real client IP
Thank you so much @Cyb3r-Jok3 for your guidance! Your suggestions led me to the documentation on Cloudflare's HTTP request headers (https://developers.cloudflare.com/fundamentals/reference/http-request-headers/#cf-connecting-ip) and a solution on Stack Overflow (https://stackoverflow.com/questions/76837736/configuring-kubernetes-ingress-nginx-to-preserve-client-ip-address-from-cloudfla/76847942#76847942). By adding these three annotations to the configmap of the ingress nginx installed with Helm: enable-real-ip: "true" compute-full-forwarded-for: "true" use-forwarded-headers: "true" I am now able to see the real client IPs in the logs. Additionally, in the backend, or through a middleware application, I can read the real IPs using the forwarded headers. Thanks again for your help!
3 replies
CDCloudflare Developers
Created by Eunoia on 10/5/2023 in #pages-help
Delete preview on no production branches.
Thanks @Skye !
4 replies
CDCloudflare Developers
Created by Eunoia on 10/5/2023 in #pages-help
Delete preview on no production branches.
Were just watching it
4 replies
CDCloudflare Developers
Created by Eunoia on 10/5/2023 in #pages-help
Delete preview on no production branches.
Oh, OK, where can I more info or any example of preview deleting via API? Thanks in advance @Skye
4 replies