Getting CSV file values as nginx variable

Roman Vasilyev roman.vasilyev at
Fri Jun 3 01:29:08 MSD 2011


I need to get values of CSV files in my project:
John Malkovich,Person,123 Mulholland Drive,.......
to have in config something like:
csv_path /path/to/csv/dir;
csv_key $arg_id;

uwsgi_param USER_NAME $csv_1;

what's the best way for it?

I've checked Array Var module by agentzh
( )
looks like it realizes similar task.
May be I'm looking in wrong direction and answer closer?

More information about the nginx mailing list