brave icon indicating copy to clipboard operation
brave copied to clipboard

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

Open dvision1979 opened this issue 5 years ago • 1 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.

dvision1979 avatar Sep 05 '20 19:09 dvision1979

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.

moschopsuk avatar Feb 24 '21 11:02 moschopsuk