xtreamui-things icon indicating copy to clipboard operation
xtreamui-things copied to clipboard

Proxy works for only Main Server

Open watzapnet opened this issue 2 years ago • 2 comments

I'm trying to find a solutiong but i dont have the decoded files.

Do you know how to run LBs with proxy? Streams only work for "Main Server" with proxy. When i run a stream in LB via proxy, no luck. Any kind of help would be appreciated..

Thanks

watzapnet avatar Dec 21 '22 19:12 watzapnet

Install proxy server, make sure it has same http port with lb and proxies correct ip:port in proxy_pass directive. Then add proxy server ip into either domain name box or vpn ip box, you can also you a domain that points to proxy server ip.

emre1393 avatar Jan 04 '23 11:01 emre1393

Install proxy server, make sure it has same http port with lb and proxies correct ip:port in proxy_pass directive. Then add proxy server ip into either domain name box or vpn ip box, you can also you a domain that points to proxy server ip.

Is there any important settings in proxy conf to adapt for streaming. I got it work but problem is connections dropping after 2-3 minutes on very small load on server

`server { listen ####;

location / { proxy_pass http://ipaddress:port; proxy_redirect off; proxy_http_version 1.1; proxy_set_header Connection ""; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Original-Scheme $scheme; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass_request_headers on; proxy_max_temp_file_size 0; client_max_body_size 10m; client_body_buffer_size 128k; client_body_timeout 12; keepalive_timeout 15; send_timeout 10; proxy_connect_timeout 90; proxy_send_timeout 90; proxy_read_timeout 90; proxy_buffer_size 4k; proxy_buffers 4 32k; proxy_busy_buffers_size 64k; proxy_temp_file_write_size 64k; } }`

kenzo-84 avatar Apr 23 '24 09:04 kenzo-84