WebXR how to set up a public server?


I dont know why, but I know that you need HTTPS in order to server WebXR. I would like to set up a public server with my webXR app and I don’t know if someone have already try and can help me.

I have a sever and the domain. Maybe using NGINX? with a certbot certificate?

I like to use Netlify.com for instance. really cheap and good speed for the price

I already have the server, so I really don’t need to buy another service for deployment. what I wanted to know is, like I have to use for example appache or any kind of web server, then set up a reverse proxy that provides the HTTPS certificate?

Someone that had tried and cand advise me on the best and simple way to do it in my own server. Better if there is an example.

Best regards,