Hi,
i could reproduce it and it works as expected. For the sake of logging i
replaced validate with my own validate block and the issue persist. the
validate server log output:
{"connection":"upgrade","host":"localhost","x-original-uri":"/validate","user-agent":"curl/7.68.0","accept":"*/*"}
The t
Hi Francis,
thanks for the fast reply. At auth server, the value of "X-Original-URI"
header is only "/validate". But should be "/validate?token="
as all request for a static file pass a token query param to the file server
(https://files.mysite.com/myvideo.mp4?token=).
Cheers,
Rafael.
Posted at
Hi All, i'm trying to configure a auth based static files server using
nginx, but its not working because, i suppose, the $request_uri is not being
forwarded to the auth endpoint. Does auth_request support relaying
$request_uri ? If someone could give a tip i would be very grateful.
server {