D
D
DenisZ2014-09-03 23:56:05
Nginx
DenisZ, 2014-09-03 23:56:05

How to set up support for fast file upload via Nginx for Bitrix?

Goodnight.
Faced a problem. There is a bitrix installation on nginx + apache + php You need to enable fast file upload through Nginx (x-accel-redirect) I read that nginx has this feature out of the box, but when passing the tests, bitrix gives an error. Support recommended to install their VM, but this option is not suitable. I would like to customize everything myself.
Where to dig? Maybe someone came across.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2014-09-04
Protko @Fesor

throw apache out of the bundle.

N
neol, 2014-09-04
@neol

Is there nothing in the nginx error.log? In Bitrix, the test is the dumbest, to pass it and such a config is enough:

server {
  listen 1.2.3.4:80;
  server_name site.ru;

  location / {
    proxy_pass http://backend;
  }
}

Naturally, no "quick return" will work, but the test will pass successfully (=

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question