Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy works for only Main Server #19

Open
watzapnet opened this issue Dec 21, 2022 · 2 comments
Open

Proxy works for only Main Server #19

watzapnet opened this issue Dec 21, 2022 · 2 comments

Comments

@watzapnet
Copy link

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
Copy link
Owner

emre1393 commented Jan 4, 2023

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
Copy link

kenzo-84 commented Apr 23, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants