fix: adding support for /api/v2
This commit is contained in:
@@ -80,6 +80,17 @@ http {
|
|||||||
proxy_read_timeout 900;
|
proxy_read_timeout 900;
|
||||||
send_timeout 900;
|
send_timeout 900;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /api/v2 {
|
||||||
|
proxy_pass http://{{ getenv "BACKEND_HOSTNAME" "shuffle-backend" }}:5001;
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
|
||||||
|
proxy_connect_timeout 900;
|
||||||
|
proxy_send_timeout 900;
|
||||||
|
proxy_read_timeout 900;
|
||||||
|
send_timeout 900;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
|||||||
Reference in New Issue
Block a user