fix: cleaning config file
This commit is contained in:
@@ -70,22 +70,22 @@ http {
|
|||||||
try_files $uri /index.html;
|
try_files $uri /index.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /api/v1 {
|
# location /api/v1 {
|
||||||
|
# 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;
|
||||||
|
# }
|
||||||
|
|
||||||
|
location ~ /api/v(1|2) {
|
||||||
proxy_pass http://{{ getenv "BACKEND_HOSTNAME" "shuffle-backend" }}:5001;
|
proxy_pass http://{{ getenv "BACKEND_HOSTNAME" "shuffle-backend" }}:5001;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|
||||||
proxy_connect_timeout 900;
|
|
||||||
proxy_send_timeout 900;
|
|
||||||
proxy_read_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_connect_timeout 900;
|
||||||
proxy_send_timeout 900;
|
proxy_send_timeout 900;
|
||||||
proxy_read_timeout 900;
|
proxy_read_timeout 900;
|
||||||
|
|||||||
Reference in New Issue
Block a user