upstream name should be unique per entire config, you could name it in nginx.conf and than reference to its name from different your includes. like: upstream loadbalancer { server 192.168.0.1:8080; server 192.168.0.2:8080; server 192.168.0.3:8080; server 192.168.0.4:8080; } than in certain location (inby motto - Nginx Mailing List - English
Sorry to be annoying, here is part of nginx config: # Upload form should be submitted to this location location /upload_test { upload_pass @test; upload_store /usr/local/apps/Opus/temp/upload 1; upload_store_access user:r; upload_set_form_field $upload_field_name.name "$upload_file_name"; upload_set_form_field $upload_field_namby motto - Nginx Mailing List - English
as for nginx backend for debug purpose I use python-tornado script, which will just give back params, which nginx pass to it. so here it is: upload under Chrome: {u'upfile.path': ['/usr/local/apps/Opus/temp/upload/6/0009495446'], u'upfile.size': ['51'], u'upfile.name': ['test%22try.txt'], u'note': [''], u'upfile.md5': ['5a089ad5ea93048b0d492d53626bf76b'], u'upfile.content_type': ['text/plain']}by motto - Nginx Mailing List - English
Problem uploading file name - test"try.txt (with double quotes inside file name) under firefox browser. It pass to backend file content as a file name. {"note": [""], "upfile": ["erthtyjt\nrthy\ntrh\nrt\nh\nrt\nh\nrt\nh\nrth\nr\nth\nr\nth\n\nt\n\n"]} here is debug from nginx. http://pastebin.com/P6nkNNj3by motto - Nginx Mailing List - English