diff --git a/docker-compose.PROD.yaml b/docker-compose.SYSTEMS.yaml similarity index 93% rename from docker-compose.PROD.yaml rename to docker-compose.SYSTEMS.yaml index 793394c..771a2b0 100644 --- a/docker-compose.PROD.yaml +++ b/docker-compose.SYSTEMS.yaml @@ -13,7 +13,7 @@ services: CONNECTIONSTRINGS__SPACERACE: "Server=pg;Port=5432;Database=${POSTGRES_DB};User Id=${POSTGRES_USER};Password=${POSTGRES_PASSWORD}" build: context: ./Server - dockerfile: ./Server/Dockerfile + dockerfile: ./Dockerfile nginx: image: nginx:latest diff --git a/nginx/spacerace.systems.nginx.conf b/nginx/spacerace.systems.nginx.conf index cfcd9c8..ec89a6f 100644 --- a/nginx/spacerace.systems.nginx.conf +++ b/nginx/spacerace.systems.nginx.conf @@ -22,7 +22,7 @@ server { # try_files $uri $uri/ index.html; # } - location /api/ { + location / { # trailing slash means api will receive url WITHOUT /api proxy_pass http://spacerace_server/; proxy_read_timeout 600s;