i am using nginx as a reverse proxy to video files using a proxy_store and $arg .
so i have this nice server that is using a arg named "Key-Pair-Id"
and when i'm settings up (partial settings)
##start qoute
location / {
root /usr/local/www/nginx_cache/files/;
try_files "/id=$arg_Key-Pair-Id.hint=$arg_hint" @proxy_v;
}
location @proxy_imdbv {
resolver 192.168.1.201;
proxy_pass http://$host$request_uri;
proxy_temp_path "/usr/local/www/nginx_cache/files/tmp";
proxy_store "/usr/local/www/nginx_cache/files/imdbcache/id=$arg_Key-Pair-Id.hint=$arg_hint";
##end quote
nginx create a file named:
id=-Pair-Id.hint=flv
instead of the id key number
so i was wondering about the limits of $args names and is there a way to use it in my case?
Thanks,
Elico