Answer the question
In order to leave comments, you need to log in
Nginx - how to solve the problem with uploading files?
Faced with the problem that when opening a file through IE directly from the server, Microsoft Excel programs,
a reading error occurs. The server has apache2 as a front, 301 redirects of all static files to backend (nginx) are configured via htaccess.
gzip and
sendfile on;
tcp_nopush on;
tcp_nodelay on;
direction 10m;
client_body_timeout 10;
client_header_timeout 10;
send_timeout 10;
What could be the problem? Has anyone actually encountered this behavior?
And could it be related to the 301 redirect to the port while opening the file?
Answer the question
In order to leave comments, you need to log in
try to take away from nginx at once. you will immediately understand.
the problem is floating, what it depends on is also not known, according to the logs the redirect occurs, according to the nginx logs 200 server response. The user "Error reading the file at the address" while the neighbor opens correctly.
For the current this kind of problem occurs in two people from my office, I myself do not suffer from such a problem. Tried to give directly, the error remains.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question