emre1393 / xtreamui-things

the things related with xtream-ui
GNU General Public License v3.0
38 stars 70 forks source link

Proxy works for only Main Server #19

Open watzapnet opened 1 year ago

watzapnet commented 1 year ago

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

emre1393 commented 1 year ago

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.

kenzo-84 commented 2 months ago

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; } }`