bbc / brave

Basic Real-time AV Editor - allowing you to preview, mix, and route live audio and video streams on the cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any particular things to consider when proxying through nginx for ssl?

dvision1979 opened this issue · comments

Hello and congratulations on this awsome project.

Is there any things, like other ports, to consider when proxying through nginx to be able to publish as https?
I am trying with this configuration in nginx:
location /brave {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://localhost:5000;
proxy_redirect http://localhost:5000 https://example.domain.com;
}

Or there is maybe built-in functionality to enable ssl?
Thank you.

You are correct to use nginx to proxy to brave.

You may have some issues with webRTC but i would be interested in hearing how you got on.