Re: Proxy
<[email protected]> Wed, 27 Jul 2016 08:47:42 -0700
| Newsgroups | gmane.comp.audio.icecast.devel |
|---|---|
| Message-ID | <[email protected]> |
We've tested this as working relatively well, disable buffering is the major
key if I recall. Otherwise the NGINX server loads up data before handing off
to the client.
server {
listen 80;
server_name my_dns_name.tldn;
location / {
proxy_buffering off;
proxy_ignore_client_abort off;
proxy_intercept_errors on;
proxy_next_upstream error timeout invalid_header;
proxy_redirect off;
proxy_set_header X-Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_connect_timeout 60;
proxy_send_timeout 21600;
proxy_read_timeout 21600;
proxy_pass http://my_dns_name.tldn:8010;
}
}
More information about said directive can be found here:
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffering
Jesse
From: Icecast-dev [mailto:[email protected]] On Behalf Of Yaniv
Sharon
Sent: Wednesday, July 27, 2016 7:14 AM
To: [email protected]
Subject: [Icecast-dev] Proxy
Hi all,
I want to do a proxy to icecast (:8000) with nginx (:80).
Its working for me, stream is running on port 80, but on the first loading
is "pending" For a long time before its starts play.
Who using the "proxy_pass" on nginx and can help?
Thnx.
_______________________________________________
Icecast-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/icecast-dev