Potentially fixed docker deployment #70

This commit is contained in:
Sven Heidemann 2022-10-23 22:41:18 +02:00
parent 7c0f30ff95
commit 3b2ab6c8a0
4 changed files with 4 additions and 18 deletions

View File

@ -24,21 +24,7 @@ http {
}
location /api {
proxy_pass http://kdb_bot_prod_1;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_redirect off;
}
location /api/socket.io {
proxy_http_version 1.1;
proxy_buffering off;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_pass http://kdb_bot_prod_1/api/socket.io;
proxy_pass http://kdb_bot_staging_1;
}
}
}

View File

@ -4,7 +4,7 @@
export const environment = {
production: false,
apiURL: "http://localhost:5000",
apiURL: "http://localhost:8044",
};
/*

View File

@ -1,4 +1,4 @@
export const environment = {
production: true,
apiURL: "https://kdb.keksdose-gaming.de/",
apiURL: "https://kdb.keksdose-gaming.de",
};

View File

@ -1,4 +1,4 @@
export const environment = {
production: true,
apiURL: "https://kdb-test.keksdose-gaming.de/",
apiURL: "https://kdb-test.keksdose-gaming.de",
};