Jerenaux / phaserquest

Reproduction of Mozilla's BrowserQuest using Phaser, socket.io and Node.js
http://www.dynetisgames.com/2017/03/18/phaser-quest/
MIT License
374 stars 126 forks source link

Nginx Reverse Proxy #18

Open MaestroJAL opened 4 years ago

MaestroJAL commented 4 years ago

Thank you so much for this! I've been tinkering with BrowserQuest for a while with limited success. I am going the Docker route. I have PhaserQuest working locally using a docker with an alternative port. When I forward the container, the main page loads but displays a black screen. After investigating, the folder 'assets' and 'socket.io' are trying to be loaded from the main access point, in this case 'pq'. I can access the folders if I put 'pq' in front of the URL but I cannot seem to forward those two folders properly. Do you have any ideas?