-1
votes
0answers
14 views

Nginx client_body_in_file_only for file upload performance [duplicate]

In my app, I have nginx proxy to my app server (unicorn). I'm trying to improve my file upload performance. I've read that through various techniques you can prevent your app processes from being ...
0
votes
0answers
51 views

nginx proxy_pass upload cut at 64K

I made a node.js server that can receive and process file uploads. When I access the node.js server directly everything works fine. I have put an nginx server in front of if, and small files uploads ...
1
vote
1answer
907 views

How to add module to nginx on CentOS 6

I have nginx 1.4.4 as reverse proxy and apache as backend. My question is - how to add modules to nginx? I need this module http://wiki.nginx.org/HttpUploadProgressModule checked nginx -V i don't ...
2
votes
0answers
359 views

Nginx returning 408 error with XHR2 file uploads during mid-upload

A customer of mine is trying to upload a file to our remote nginx webserver via a form POST using XHR2 form data (and a cross-domain request with CORS). During mid-upload, the webserver returns a 408 ...
0
votes
0answers
248 views

make nginx pass PUT requests to PHP script

I want to upload files with PUT request, to PHP running under NginX (windows if that matters). PHP manual have this instructions for Apache: A line like this would do the trick: Script PUT ...
1
vote
0answers
87 views

Nginx client_max_body_size per location block (with php frontcontroller pattern)

I am looking for a solution for this problem. I understand the reasoning why the setup in that question does not work, but I try to get to a solution where I can get it working. The idea is to allow ...
0
votes
0answers
125 views

How can I use php 5.4's Session Upload Progress with nginx?

Is there any way I can use php 5.4's Session Upload Progress with nginx enabled?
1
vote
0answers
162 views

PHP file upload failure for large files

Using a simple php script, when I try to upload files larger than 1MB it fails by giving this undescriptive error: General upload failure. Nginx error log does not show any evidence. I have ...
0
votes
0answers
101 views

Nginx bytes sent larger then acutal file size

I am using Nginx 1.4.1 and when I looked at the log file and added up the total bytes sent for different files it was larger then the file size. Here is part of the log file 127.0.0.1 - User1 ...
4
votes
2answers
275 views

PHP Upload File leads to blank page

I have the following code: <html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input ...
17
votes
1answer
764 views

nginx upload progress combined with normal request

I have a good virtual host for nginx that works well without using the nginx upload module. When I add upload progress into this my upload request. How can I solve this? i need to upload my files ...
0
votes
2answers
489 views

File uploads and client_max_body_size in nginx + gunicorn + django

I need to configure nginx + gunicorn to be able to upload files greater than the default max size in both servers. My nginx .conf file looks like this: server { # ... location / { ...
1
vote
2answers
656 views

Upload file to nginx server through php/html form

I think this is very popular question, however I can't find information I interested in, hope you help me. I new to server administration things, so don't throw stones at me:) I install nginx to my ...
2
votes
2answers
1k views

Prevent large file upload with nginx

I'm serving my website using Nginx as web server. I offer upload functionality to my users (they are allowed to submit pictures up to 5Mb) so I have the directive: client_max_body_size 5M; in my ...
0
votes
1answer
496 views

nginx large file upload gives HTTP Error 413 Request entity too large in rails

I trying to build a rails application to upload large video file which will be hosted at s3.amazonaws.com server it works fine with smaller file but gives 413 Request entity too large error for large ...
0
votes
1answer
465 views

Nginx Upload Module with Upload Progress Module

I´m trying to setup a File Upload Server with nginx. My nginx config: worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type ...
2
votes
1answer
133 views

nginx: upload progress and rewrite clauses

I'm using nginx with upload progress extension and some rewrite-clauses. Everything works fine, as long as my upload form uploads to a php file (<form action="myphpfile.php" ... >). But when I ...
1
vote
2answers
2k views

Nginx upload PUT and POST

I am trying to make nginx accept POST and PUT methods to upload files. I have compiled nginx_upload_module-2.2.0. I can't find any how to. I simply want to use only nginx for this, no reverse proxy, ...
0
votes
1answer
2k views

Nginx proxy timeout while uploading big files

I'm experiencing strange behaviour with Nginx. In my case Nginx acts as proxy to Jetty. Config below: server { listen 80; client_header_timeout 3m; client_body_timeout 3m; ...
0
votes
1answer
653 views

Nginx 413 error does not get to the browser

I think my situation is very similar to Why might a 413 not be flushed to the client immediately? , what is indented is where my situation is different I have my local development server returning ...
0
votes
1answer
379 views

nginx php-fpm uploaded files have nginx ownership after executing move uploaded file

I have a problem with php 5.3.6 using PHP-FPM and file uploads. My Nginx runs as user nginx PHP-FPM uses pools configured for each vhost. For example a user: test group : test runs one pool. When ...
1
vote
1answer
695 views

How to make uploading large (more than 1MB) files work with nginx, rails and uploadify

I have problem with my production nginx configuration (on my development machine with mongrel everything works). My environment is: nginx as proxy, rainbows as backend running rails 3.1 application ...
1
vote
1answer
1k views

Nginx returning “404 Not Found” when invoking the upload module

I've set up Nginx and the upload module following Martin Fjordvald's guide, but whenever I submit a file to it, I receive Nginx's generic "404 Not Found" page. The file is not uploaded. Here's my ...
1
vote
1answer
243 views

Is it possible to reduce this nginx proxy configuration?

I'm having an hard time trying to find out how to reduce this "repeated lines" for my NGinx configuration, just to change one property : server { #listen [::]:443 ipv6only=on; ## listen for ...
0
votes
1answer
245 views

Restrict file size upload per url

I have a website build with Play! Framework that I show with NGinx using ssl. Everything works fine but I'd like to implement a file upload limit based on url : If the user upload a file to ...
1
vote
1answer
226 views

Limit file upload per type with NGinx

On my project, I will allow users to send zip files and images files (on two different form post). The project is developed with Play! Framework (not PHP). I'd like to limit the size of upload for ...
1
vote
2answers
988 views

nginx http upload module config

I recently put nginx in front of apache to act as a reverse proxy. Up until now Apache handled directly the requests and file uploads Now, I need to configure nginx so that it sends file upload ...
8
votes
3answers
6k views

Limit upload file size and redirect user to error page if limit exceeds

Is it possible to redirect user to file file too big page when POST request size exceeds specified limit? I am aware about max-request-size option, but it gives just static page that cannot be ...
1
vote
2answers
487 views

Nginx Error 413

I originally posted this on Stack Overflow, then remembered that SO isn't for server-based questions. Hey guys, When I try to upload a file to my site, I'm getting the Nginx "413 Request Entity Too ...