fix: restore root / location to proxy to litellm_backend after nginx.conf recovery from sabotage
This commit is contained in:
+8
-2
@@ -141,8 +141,14 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /opt/inference-harness/dashboard;
|
proxy_pass $litellm_backend_url/;
|
||||||
try_files $uri $uri/ /index.html;
|
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/ {
|
location /metrics/ {
|
||||||
|
|||||||
Reference in New Issue
Block a user