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}"
|
CONNECTIONSTRINGS__SPACERACE: "Server=pg;Port=5432;Database=${POSTGRES_DB};User Id=${POSTGRES_USER};Password=${POSTGRES_PASSWORD}"
|
||||||
build:
|
build:
|
||||||
context: ./Server
|
context: ./Server
|
||||||
dockerfile: ./Server/Dockerfile
|
dockerfile: ./Dockerfile
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
@@ -22,7 +22,7 @@ server {
|
|||||||
# try_files $uri $uri/ index.html;
|
# try_files $uri $uri/ index.html;
|
||||||
# }
|
# }
|
||||||
|
|
||||||
location /api/ {
|
location / {
|
||||||
# trailing slash means api will receive url WITHOUT /api
|
# trailing slash means api will receive url WITHOUT /api
|
||||||
proxy_pass http://spacerace_server/;
|
proxy_pass http://spacerace_server/;
|
||||||
proxy_read_timeout 600s;
|
proxy_read_timeout 600s;
|
||||||
|
|||||||
Reference in new issue
Block a user