move the game directory to be a download directory
This commit is contained in:
parent
e9ccdaac27
commit
701f3b3a41
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user