mikyll commented on PR #13143: URL: https://github.com/apache/apisix/pull/13143#issuecomment-4235713138
@Baoyuantop I updated the `auth.header` test to replace `Authorization: Bearer token` to `X-Api-Key: apikey`, because apparently Nginx env directive doesn't support spaces. I couldn't find anything in the official Nginx documentation, but here's a reference from one of your comments: https://github.com/apache/apisix/issues/7223#issuecomment-4043785872. I also tested it with a minimal Nginx setup and yes, spaces in env directive throw an error: ```log nginx: [emerg] invalid number of arguments in "env" directive in /etc/nginx/nginx.conf:5 ``` --- Can you review again the PR? 🙂 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
