Skip to content
Multiplayer Hub Landing Page
Branch: master
Clone or download
Latest commit 0cc7ed6 Jan 10, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
resources First upload Jan 10, 2019
LICENSE Initial commit Jan 10, 2019
README.md Updated README.md Jan 10, 2019
index.html First upload Jan 10, 2019

README.md

HubStatistics

Multiplayer Hub Landing Page

Usage

Just host with a webserver, preferably on the same URL that your hub is running on.

You will need to setup a reverse proxy to upgrade WS to WSS connections if you run HTTPS. This is how to do it with nginx:

# Web Sockets settings
map $http_upgrade $connection_upgrade {
    default upgrade;
    '' close;
}

# wss -> ws
server {
  listen [::]:3900;
  listen 3900;

  ssl on;
  ssl_certificate /path/to/fullchain.pem;
  ssl_certificate_key /path/to/privkey.pem;


  location / {
      proxy_pass http://localhost:3800;
      proxy_http_version 1.1;
      proxy_set_header Upgrade $http_upgrade;
      proxy_set_header Connection $connection_upgrade;
  }
}
You can’t perform that action at this time.