Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Nginx HttpUploadProgressModule not working as expected

$
0
0
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.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>