Skip to content

Is it possible to pass SRT through an nginx proxy? #2220

Answered by ieaster1
ieaster1 asked this question in Q&A
Discussion options

You must be logged in to vote

In case anyone else comes across this, my suspicion was correct. Both TCP and UDP listen directives need to be set for traffic to be passed. I'm not sure why this works but it resolved the issue for me.

Boiler plate config with the nginx stream module if anyone ever needs it:

 server {
    listen <port>;
    listen <port> udp;
    proxy_pass <srvr_ip>:<port>;
}

http://nginx.org/en/docs/stream/ngx_stream_core_module.html

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ieaster1
Comment options

You must be logged in to vote
2 replies
@ieaster1
Comment options

@itseramin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants