Page 1 of 1

Can`t upload file to form across nginx (proxy_pass nginx config)

Posted: Wed Sep 30, 2020 9:22 am
by iacsvrn
I can`t upload files to from.
My scheme: user <---> internet <---> nginx <----> ProcessMaker(apache2)
My nginx conf location:
Code: Select all

    location / {
        proxy_pass http://1.2.3.4;
        client_max_body_size 10m;
        client_body_buffer_size 128k;

        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_x_forwarded_host;

        proxy_set_header X-Forwarded-Proto http;
        proxy_set_header X-Forwarded-Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

        proxy_redirect off;
        proxy_buffering off;

}

=== === ===

If someone has the same scheme and post full nginx host config file, it will be perfect!