Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Demo Locations

PhlexPlexico edited this page Nov 25, 2019 · 1 revision

Since demos are uploaded from the game server, to a given FTP server, I chose to make a redirect path so users can download demos via HTTP. There was some issues with this, as some users may have their FTP servers on a completely different machine, or just a different drive. You can setup symlinks, or mount a drive within a folder within Linux, which can be found via Googling. However the one issue is with FTP being on a different server. In order to correct this, we can simply make an NGINX/Apache redirect rule, that will direct the user to the right server.

If you wish to see more of this discussion. please direct yourself to issue #144.

In short, create a redirect rule that goes to the correct domain from your get5 instance:

RedirectMatch ^/static/demos/(.*)$ https://demos.get5web.com/$1

Clone this wiki locally