Skip to content

Commit

Permalink
Set client max size to a higher value
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Oct 10, 2024
1 parent 8e373ea commit fa6f2c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions conf/nginx.default
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ server {
real_ip_header X-Forwarded-For;
set_real_ip_from 192.168.0.0/16;
set_real_ip_from 10.0.0.0/8;
client_max_body_size 80M;

location / {
proxy_pass http://127.0.0.1:8010;
Expand Down
12 changes: 6 additions & 6 deletions run_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ python min_version.py
package_command=''

# Are we sort of connected to the backend?
#if kubectl get service -n totallylegitco vllm-health-svc; then
# export HEALTH_BACKEND_PORT=4280
# export HEALTH_BACKEND_HOST=localhost
# kubectl port-forward -n totallylegitco service/vllm-health-svc 4280:80 &
#else
if kubectl get service -n totallylegitco vllm-health-svc; then
export HEALTH_BACKEND_PORT=4280
export HEALTH_BACKEND_HOST=localhost
kubectl port-forward -n totallylegitco service/vllm-health-svc 4280:80 &
else
echo 'No connection to kube vllm health svc'
#fi
fi
echo "Setup to use $HEALTH_BACKEND_HOST:$HEALTH_BACKEND_PORT"
if command -v apt-get; then
package_command="apt-get install -y"
Expand Down

0 comments on commit fa6f2c9

Please sign in to comment.