post - Upload files to Nginx -


is there way upload files server via http using nginx?

i have program uses curl , post method via http send files different enterprise software. want replicate similar hitting roadblock.

i have installed nginx , did basic configuration, want able upload files under /data/files/incoming

server {     listen testserv1;      location /upload/ {       limit_except post put { deny all; }       client_body_temp_path /data/files/incoming/;       client_body_in_file_only on;       client_body_buffer_size 128k;       client_max_body_size 100m;       proxy_pass_request_headers on;       proxy_set_body $request_body_file;       proxy_pass http://127.0.0.1/upload;       proxy_redirect off;     } 

i left regular config on nginx.conf , added above. question is, how know working? did server try run program supposedly posts file nothing. there way test config system? missing on config?

any help, appreciated.


Comments