Backend
The DISE backend is organized into a number of Windows services:
Service name | Description | Executable |
---|---|---|
DISEServer | Player API Service | C:\Program Files (x86)\DISE\DISE Server\ServerComService.exe |
DISEServerDS2N | Player API Service, v2 | C:\Program Files (x86)\DISE\DISE Server\node8\npm.cmd |
DISEServerNginx | Web server Nginx is used as a reverse proxy and forwards requests to the other services or to static content, such as images and videos. | C:\Program Files (x86)\DISE\DISE Server\nginx\nginx.exe |
DISEServerNodeJS | Node.js service | C:\Program Files (x86)\DISE\DISE Server\node\node.exe |
DISEServerRedis | In-memory cache | C:\Program Files (x86)\DISE\DISE Server\Redis\redis-server.exe |
DISEServerPGSQL | Database engine | C:\Program Files (x86)\DISE\DISE Server\pgsql\bin\postgres.exe |
DISEServerWAMP | Websocket communications Maintains a direct communications channel between players and servers. | C:\Program Files (x86)\DISE\DISE Server\Python27\python-2.7.13\python.exe |
DISE Server Data
The DISE Server Data folder, here referred to as <DISE Server Data> is located on a physical drive on the server.
By default, the backend services stores their settings here, and content uploaded by users is stored here.
Settings files and registry
Settings files for the various applications can be found as described in the table below:
Service/application | Settings path(s) |
---|---|
DISEServer | Registry, see below |
Nginx | <DISE Server Data>\nginx\conf |
PostgreSQL | <DISE Server Data>\pgData |
NodeJS | <DISE Server Data>\nodeserver\lib\config, <DISE Server Data>\ds2n |
Redis | <DISE Server Data>\Redis |
Registry entries are found here:
HKLM\Software\(WOW6432Node)\DISE
Content
Content is typically stored in "<DISE Server Data>\Content".
Files have a hashed filename based on its content and are stored in a folder tree calculated from this hash. As such, files are uploaded only once.
For example, a file "Team 1.jpg" is uploaded and is stored here: "<DISE Server Data>\Content\6B\22\b1a5bce39e6b05fd611c7eda7dd7626268c31908"
SSL support
There is support for HTTPS through SSL. Server comes with a certificate signed by us, which has to be exchanged for a real one if you are going to use SSL.
Certificates are placed in the folder “<DISE Server Data>\nginx\ssl”.
What you require is a .crt file(certificate) and a .key file (public key). The files have to be created specifically for the server that you wish to use in order to work.
Certificates are issued by a CA and have to be generated/purchased separately; it is not something that DISE can provide.