bbc / brave

Basic Real-time AV Editor - allowing you to preview, mix, and route live audio and video streams on the cloud
Apache License 2.0
659 stars 148 forks source link

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

Open dvision1979 opened 4 years ago

dvision1979 commented 4 years ago

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.

moschopsuk commented 3 years ago

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.