nginx reverse proxy

Discussion in 'Installation/Configuration' started by Kemp, Jun 5, 2023.

  1. Kemp

    Kemp Member

    Hi,

    Can you please tell me how to enable nginx mp4 module for reverse proxy:

    location / {
    proxy_pass http://127.0.0.1:3000;
    }

    The module is working without proxy.

    Thank you!
     
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    I don't think you can't proxy mp4 using nginx mp4 module as it doesn't work that way (via reverse proxy), at least not to my knowledge. As you already noted it works if it streams directly from the source server as it basically only works with local files.
     
  3. Kemp

    Kemp Member

    Reverse proxy is local, the same server.

    Thank you!
     
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Proxy is opposite of direct, so it won't work in such a way. To be certain, you can refer to nginx online manual for further information especially for that specific module.
     
  5. Kemp

    Kemp Member

    Thank you!
     

Share This Page