immersive-web / webxr-samples

Samples to demonstrate use of the WebXR Device API
https://immersive-web.github.io/webxr-samples/
MIT License
1.01k stars 485 forks source link

Issue with Docker NGINX Server ? #81

Closed fabioborsoi closed 3 years ago

fabioborsoi commented 3 years ago

Dear Team,

in order to move my fisrt step into WebXr I decide to copy the code into a plain vannila NGINX server running in my Windows 10 Host. I'm able to reach index.html and all the other file using http://MyIP/webxr-samples/ , but it can recognize my Frefox on Quest . I dont have any issue with the path https://immersive-web.github.io/webxr-samples/ I hope it is a docker/nginx configuration.

Any suggestion, help ?

Thanks , Fabio

klausw commented 3 years ago

WrbXR requires a secure origin, you need to use https:// .

On Sun, Oct 25, 2020, 08:55 fabioborsoi notifications@github.com wrote:

Dear Team,

in order to move my fisrt step into WebXr I decide to copy the code into a plain vannila NGINX server running in my Windows 10 Host. I'm able to reach index.html and all the other file using http://MyIP/webxr-samples/ , but it can recognize my Frefox on Quest . I dont have any issue with the path https://immersive-web.github.io/webxr-samples/ I hope it is a docker/nginx configuration.

Any suggestion, help ?

Thanks , Fabio

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/immersive-web/webxr-samples/issues/81, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKT5XYMKXEP2SUBPNFNDHDSMRDAXANCNFSM4S6NJCJA .

fabioborsoi commented 3 years ago

Thanks. FYI it works also with a selsigned certificate, on a static IP ( without a domain name )

Yonet commented 3 years ago

@fabioborsoi sounds like your issue is resolved. Closing the issue. Thanks!