diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 760febd..74eccd1 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -141,8 +141,14 @@ http { } location / { - root /opt/inference-harness/dashboard; - try_files $uri $uri/ /index.html; + proxy_pass $litellm_backend_url/; + proxy_http_version 1.1; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header Authorization $http_authorization; + proxy_connect_timeout 10s; + proxy_read_timeout 600s; + proxy_buffering off; } location /metrics/ {