Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added number of hops to function example for "behind-proxies" page #1434

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Commits on Aug 2, 2023

  1. Added number of hops to function example for "behind-proxies" page

    `proxy-addr` not only passes the ip but also the index of the hop to the callback. This could be noted in the documentation, as it's useful for private servers behind a public load balancer which, in theory, is accessible to the public internet but should be proxied by a CDN.
    In this example the first hop can always be trusted (LoadBalancer -> API) but the second hop would depend on the IP of the incoming request (either CDN -> LB or internet -> LB).
    marcesengel committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    845bfe1 View commit details
    Browse the repository at this point in the history