Welcome! Log In Create A New Profile

Advanced

nginx last version on windows

September 03, 2020 02:18AM
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
Subject Author Posted

nginx last version on windows

jasonsx September 03, 2020 02:18AM

Re: nginx last version on windows

Francis Daly September 03, 2020 05:50AM

Re: nginx last version on windows

jasonsx September 03, 2020 06:25AM

Re: nginx last version on windows

itpp2012 September 03, 2020 06:41AM

Re: nginx last version on windows

jasonsx September 03, 2020 06:55AM

Re: nginx last version on windows

Francis Daly September 03, 2020 08:32AM

Re: nginx last version on windows

jasonsx September 03, 2020 09:26AM

Re: nginx last version on windows

itpp2012 September 03, 2020 10:12AM

Re: nginx last version on windows

jasonsx September 03, 2020 11:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 86
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready