Upload files via proxy

#1
Hello!
I'm have litespeed 1.6.14 on server1 and Apache/2.4.41 on server2.
On server1 configured proxy for server2 via external app web server + context proxy.
On server2 installed apache2 + php-fpm for nextcloud.
Uploading file via browser works unreal slow, like file 200kb size uploads more that 5 mins, seems as file first uploads on server1 on tmp folder, and only at 100% start uploads on server2 with slow speed, can i avoid this?
I'm trying disable compression but it's not works.
 

Pong

Administrator
#2
Any reason you want to setup proxy in the front?

If you upload file to server 2 without OLS proxy , doesn't upload speed ok?
 
#3
Any reason you want to setup proxy in the front?

If you upload file to server 2 without OLS proxy , doesn't upload speed ok?
Server2 is lxc container without public ip, upload speed from local machines without litespeed 2 sec for 8 mb file.
I thing all problem in temporary file creation, but i don't know why it work so.
 
Last edited:
#4
I just tested nginx with simple configuration, works perfect. Some wrong with ols configs
Code:
        upstream cloud {
                server cloud.domain;
        }

        server {
                listen 80;
                server_name cloud.domain;

                location / {
                        proxy_pass http://cloud;
                        proxy_set_header Host $host;
                }
        }
 
Top