nginx last version on windows

jasonsx nginx-forum at
Thu Sep 3 06:18:12 UTC 2020

today i'm start using nginx 1.19.2

trying to create upload files 

and i got this
2020/09/03 08:02:21 [emerg] 8252#1152: unknown directive "upload_pass" in

my config

    listen       82;
    index index.html index.htm index.php;
    root  /nginx-1.19.2/html/center/manager/sites/cp;

    client_max_body_size 500m;
    location /nginx-1.19.2/html/center/manager/app/cp/views {
        upload_pass /nginx-1.19.2/html/center/upload;
        upload_store /dev/shm;

        upload_store_access user:r;

        upload_set_form_field $upload_field_name[name] "$upload_file_name";
        upload_set_form_field $upload_field_name[content_type]
        upload_set_form_field $upload_field_name[path] "$upload_tmp_path";

        upload_aggregate_form_field "$upload_field_name[md5]"
        upload_aggregate_form_field "$upload_field_name[size]"
        upload_pass_form_field "^.*$";
        upload_cleanup 400 404 499 500-505;

i search like a 2 day and fail with it i found upload module but i can't
install it in windows 
any idea ?

Posted at Nginx Forum:,289290,289290#msg-289290

More information about the nginx mailing list