hi 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 C:\nginx-1.19.2/conf/vhost/ug04.cn.center.conf:43 my config server { listen 82; server_name 192.168.1.2; 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_content_type"; upload_set_form_field $upload_field_name[path] "$upload_tmp_path"; upload_aggregate_form_field "$upload_field_name[md5]" "$upload_file_md5"; upload_aggregate_form_field "$upload_field_name[size]" "$upload_file_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 ? thanks Posted at Nginx Forum: https://forum.nginx.org/read.php?2,289290,289290#msg-289290 _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx