docker fixes
This commit is contained in:
1 parent
579292460a
commit
7d4e134ffe
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user