Nginx vars

Discussion in 'Nginx' started by jingael, Sep 4, 2017.

  1. #1
    Hi,

    I'm very noob with Nginx, and I'm working on a project with the Nginx RTMP module which I have to pass a dynamic variable through a url, but I don't know how nginx gets vars from outside. Well, I know that through headers you can pass redirects (in my case, RTMP redirects).

    If I have the following sentence:

    push rtmp: //live-api-a.facebook.com: 80 / rtmp playpath = http: //localhost/panel/redir/facebookvar.php;

    How can I set a value to playpath from a URL?

    Thank you very much
     
    jingael, Sep 4, 2017 IP