Welcome! Log In Create A New Profile

Advanced

Nginx HttpUploadProgressModule not working as expected

Posted by shutupsquare 
Nginx HttpUploadProgressModule not working as expected
April 19, 2013 03:57PM
Hi All,

I have Nginx sat in front of Apache. I have Nginx compiled with HttpUploadProgressModule heres some relevant config.

location / {
root /var/www/site/domains/www.somewhere.com/public_html;
proxy_pass http://123.123.123.123:8080;
proxy_redirect default;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
client_max_body_size 500m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 900;
proxy_read_timeout 900;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
charset off;
track_uploads proxied 30s;
}

location ^~ /admin/include/get_upload_status.php {
report_uploads proxied;
}

Now when I hit this location ^~ /admin/include/get_upload_status.php from a webbrowser I just get dished up the php file for download instead of the file upload report.

This is my first run in with HttpUploadProgressModule and I'm stuck at what to try.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 302
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready