nginx – Reverse proxy for use with iframe

Weather Observations-II

this web page has the following link:

Videofeed of Weather Condition

this page calls iframe link:

<iframe width-"1300" height="731" src="http://c500.duckdns.org:8889/backyard"></iframe>

/backyard is video camera streaming webRTC; from a Raspberry Pi, running Wyze-Bridge docker container. Video scheme is only available as http. This is mixed content and gets blocked.

Is it possible to use nginx reverse proxy; so the /backyard video can use https scheme?

I am using Duckdns of c500.duckdns.org; have Letsencypt certicates. Have been unable to produce video from the iframe call.

What should the /etc/nginx/available-site/c500.duckdns.org contain?

Server block I am using.

Read more here: Source link