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":"*/*"} Tby rsavignon - Nginx Mailing List - English
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=<token_value>" as all request for a static file pass a token query param to the file server (https://files.mysite.com/myvideo.mp4?token=<token_value>). Cheers, Rafael.by rsavignon - Nginx Mailing List - English
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 { listen 443 ssl; listen [::]:443 ssl; ssl_certificate ....; ssl_cby rsavignon - Nginx Mailing List - English