forked from sh-edraft.de/sh_discord_bot
Fixed nginx #70
This commit is contained in:
parent
8719452dad
commit
7c0f30ff95
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user