Reverse Proxy - Problem with FusionAuth Server address
-
Is it possible to setup a FusionAuth server behind a reverse proxy and configure another redirect URI as to not expose the local address of the FusionAuth server directly? I am using FusionAuth behind a reverse proxy with an IdentityProvider login. The redirect after the login points the user to the private machine name of the FusionAuth server that is not reachable.
-
Make sure you these 4 headers in your proxy
- Forwarded-Proto: typically this will be https. This ensures any redirects are sent with the appropriate scheme.
- Forwarded-Host: The original host requested by the client in the Host HTTP request header.
- Forwarded-For: The originating IP address of the client.
- Forwarded-Server: The hostname of the proxy server.
-