-
Hi, Motivated by the API-Platform Conference, I'm trying to configure FrankenPHP behind an apache reverse proxy which has Kerberos authentication. To do so, I forward the authenticated user with the following directive: In NGINX in place of FrankenPHP, this works with the following configuration:
To replicate this in FrankenPHP/Caddy, I modified the Caddyfile like this:
But the variable is not being populated with the actual value of the header: If I move the variable assignment outside of the php_server block, the actual value is passed correct, but i also got an HTTP_ prefix as expected
It seems that placeholders (e.g., {http.request.header.X-Proxy-Remote-User}) don't work inside the php_server block, but I couldn't find any documentation stating whether this is intended behavior or if it's a misconfiguration on my part. I can work around by using the HTTP_REMOTE_USER header, but I’d appreciate any insights to confirm or help me understand. Thanks for your feedback. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Fixed since v1.3.0 |
Beta Was this translation helpful? Give feedback.
Fixed since v1.3.0