ScriptaGames / zorbio

A 3D multiplayer WebGL game
MIT License
8 stars 1 forks source link

Automated deployment to static host #381

Closed Jared-Sprague closed 7 years ago

Jared-Sprague commented 7 years ago

due to #378 , I've decided it's time to move the static "dist" files to their own host. Even though they are cached in cloudflare, the node servers are still listening on http ports and tited to the nodebalancer which ususes valuable cycles and bandwidth. I think it's better that the node servers are dedicated to websocket and all other ports closed. I think this is the best solution. I've already got a static 1 core linode for files tied to the nodebalancer on port 80. Now I need to do a bunch of modification to the scripts:

mwcz commented 7 years ago

Sounds great!

I wonder... is it possible to push our static files directly to cloudflare? Then we wouldn't even need a linode for hosting them.

Jared-Sprague commented 7 years ago

all done!