Skip to content

Commit

Permalink
helm-chart: update nginx config and minor changes
Browse files Browse the repository at this point in the history
* change the nginx configuration
* switch the default ChatQnA UI image to svelte version

Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
  • Loading branch information
Ruoyu-y committed Nov 22, 2024
1 parent 3a7cb76 commit a94b807
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 7 deletions.
5 changes: 5 additions & 0 deletions helm-charts/audioqna/templates/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ data:
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
proxy_cache off;
proxy_request_buffering off;
gzip off;
}
}
Expand Down
5 changes: 5 additions & 0 deletions helm-charts/chatqna/templates/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ data:
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
proxy_cache off;
proxy_request_buffering off;
gzip off;
}
location /v1/dataprep {
Expand Down
14 changes: 7 additions & 7 deletions helm-charts/chatqna/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ tgi:
guardrails-usvc:
enabled: false

# If you would like to switch to traditional UI image
# Uncomment the following lines
# chatqna-ui:
# image:
# repository: "opea/chatqna-ui"
# tag: "latest"
# containerPort: "5173"
# If you would like to switch to conversation UI image
# Comment the following lines
chatqna-ui:
image:
repository: "opea/chatqna-ui"
tag: "latest"
containerPort: "5173"

global:
http_proxy: ""
Expand Down
5 changes: 5 additions & 0 deletions helm-charts/codegen/templates/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ data:
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
proxy_cache off;
proxy_request_buffering off;
gzip off;
}
}
Expand Down
5 changes: 5 additions & 0 deletions helm-charts/codetrans/templates/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ data:
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
proxy_cache off;
proxy_request_buffering off;
gzip off;
}
}
Expand Down
5 changes: 5 additions & 0 deletions helm-charts/docsum/templates/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ data:
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
proxy_cache off;
proxy_request_buffering off;
gzip off;
}
}
Expand Down
5 changes: 5 additions & 0 deletions helm-charts/faqgen/templates/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ data:
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
proxy_cache off;
proxy_request_buffering off;
gzip off;
}
}
Expand Down
5 changes: 5 additions & 0 deletions helm-charts/visualqna/templates/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ data:
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
proxy_cache off;
proxy_request_buffering off;
gzip off;
}
}
Expand Down

0 comments on commit a94b807

Please sign in to comment.