example of upload_module for PHP fastcgi

Valery Kholodkov valery+nginxen at grid.net.ru
Sun Aug 23 14:30:22 MSD 2009


Oon Arfiandwi wrote:
> Hi All,
> I'm new on nginx.
> 
> I try to create upload application using PHP.
> I already configure ubuntu + nginx + php-fcgi + nginx_upload_module-2.0.9.
> 
> is there any URL for nginx configuration sample of upload application
> (in detail)?
> 
> I found example.php on
> http://github.com/vkholodkov/nginx-upload-module/tree/master
> but I don't know how to configure the nginx, so the example can
> successfully run.
> 
> I try nginx.conf from the same URL, but I didn't understand about this:
> -----
> # Pass altered request body to a backend
> location /test {
>     proxy_pass   http://localhost:8080;
> }
> -----
> 
> what is a backend?

A backend is arbitrary entity which handles altered requests from upload 
module. That could be (at the moment) a proxied web server, a fastcgi 
application or another nginx module.

-- 
Best regards,
Valery Kholodkov





More information about the nginx mailing list