move the game directory to be a download directory

This commit is contained in:
Chris Cromer 2023-01-25 20:51:45 -03:00
parent e9ccdaac27
commit 701f3b3a41
Signed by: cromer
GPG Key ID: FA91071797BEEEC2
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Alai Server
This is the server which will host the Alai game binaries, backend API that receives game data, and maybe at some point a frontend for all of that.
This is the server which will host the Alai site, API, and game downloads.
## Authors
@ -16,7 +16,7 @@ The backend is written in *go* and uses gorm to handle its database schema.
## Game
The directory game should contain the binaries for Alai which will be exposed through nginx for downloading.
The directory download should contain the binaries for Alai which will be exposed through nginx for downloading.
## Configure
@ -32,4 +32,4 @@ docker-compose up -d --build
```
docker-compose down
```
```

View File

@ -25,7 +25,7 @@ server {
proxy_set_header Connection "Upgrade";
}
location /game {
location /download {
absolute_redirect off;
rewrite ^([^.]*[^/])$ $1/ redirect;
alias /usr/share/nginx/html;