nginx - add header's value in parameters -


i'm trying add header's value (header_param) in parameter (my_param). here's code :

 location /custom_location {     rewrite ^(.*)$ $1?my_param=$http_header_param break;     proxy_pass http://localhost:8080/custom_location ;   } 

the parameter empty while header header_param exists. idea why ?


Comments