forked from sh-edraft.de/sh_discord_bot
Potentially fixed docker deployment #70
This commit is contained in:
parent
7c0f30ff95
commit
3b2ab6c8a0
@ -24,21 +24,7 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /api {
|
location /api {
|
||||||
proxy_pass http://kdb_bot_prod_1;
|
proxy_pass http://kdb_bot_staging_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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
export const environment = {
|
export const environment = {
|
||||||
production: false,
|
production: false,
|
||||||
apiURL: "http://localhost:5000",
|
apiURL: "http://localhost:8044",
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
export const environment = {
|
export const environment = {
|
||||||
production: true,
|
production: true,
|
||||||
apiURL: "https://kdb.keksdose-gaming.de/",
|
apiURL: "https://kdb.keksdose-gaming.de",
|
||||||
};
|
};
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
export const environment = {
|
export const environment = {
|
||||||
production: true,
|
production: true,
|
||||||
apiURL: "https://kdb-test.keksdose-gaming.de/",
|
apiURL: "https://kdb-test.keksdose-gaming.de",
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user