diff --git a/README.md b/README.md index e4ef960..df82860 100644 --- a/README.md +++ b/README.md @@ -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 -``` \ No newline at end of file +``` diff --git a/nginx.conf b/nginx.conf index 1fe51c9..f1e0825 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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;