Fixed nginx #70

This commit is contained in:
Sven Heidemann 2022-10-23 18:24:32 +02:00
parent 8719452dad
commit 7c0f30ff95

View File

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