reward plugin on nginx

akxx874946

New Member
YetiShare User
Apr 3, 2015
18
0
1
47
Philippines
Hello
I have a problem with pending on nginx
I use NGINX Complete Download Log

my test rules nginx

Code:
server {
    listen       80;
    server_name  localhost; # change this for your server
   root /var/www/vhosts/public/;
    index index.php;
    client_max_body_size 5G;

    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
    location ~ \.php$ {
        if (!-e $request_filename) { rewrite ^/(.*) /index.php?_page_url=$1 last; }
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME   $document_root$fastcgi_script_name;
        include        fastcgi_params;
    }

    location / {
		if (!-e $request_filename) {
			rewrite ^/(.*) /index.php?_page_url=$1 last;
		}
    }

location /files {
    root /var/www/vhosts/public/;
    post_action @afterdownload;
    internal;
}

location @afterdownload {
    proxy_pass http://my_ip/plugins/rewards/site/_log_download.php?request_uri=$request_uri&remote_addr=$remote_addr&body_bytes_sent=$body_bytes_sent&status=$request_completion&content_length=$content_length&http_user_agent=$http_user_agent&http_referer=$http_referer&args=$args;
    internal;
}
}
something does not work I have always pending
my config
debian 7 64x
nginx install on repositories