Skip to content
Snippets Groups Projects
Commit 198f1304 authored by lcappelli's avatar lcappelli
Browse files

Try fixes in subrequest test (unsuccessfully)

parent 533e7e8c
No related branches found
No related tags found
1 merge request!23Use nginx with njs instead of openresty with lua
Pipeline #89825 passed
use Test::Nginx::Socket 'no_plan'; use Test::Nginx::Socket 'no_plan';
run_tests(); run_tests();
...@@ -24,11 +23,16 @@ __DATA__ ...@@ -24,11 +23,16 @@ __DATA__
auth_request /authz; auth_request /authz;
default_type text/plain; default_type text/plain;
# auth_request_set $pippo $some_var;
# echo $http_pluto;
echo $some_var; echo $some_var;
# echo $pippo;
# return 200 "$pippo\n";
} }
location = /authz { location = /authz {
internal; internal;
set $some_var $voms_user; set $some_var $voms_user;
proxy_set_header pluto $voms_user;
return 200; return 200;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment