Spaces:
Paused
Paused
Automated deployment update from ML build
Browse files
config/nginx.conf.template
CHANGED
|
@@ -111,8 +111,10 @@ http {
|
|
| 111 |
}
|
| 112 |
|
| 113 |
# The actual LiteLLM UI — all internal Next.js navigation goes here.
|
| 114 |
-
|
| 115 |
-
|
|
|
|
|
|
|
| 116 |
proxy_http_version 1.1;
|
| 117 |
proxy_set_header Host $host;
|
| 118 |
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
| 111 |
}
|
| 112 |
|
| 113 |
# The actual LiteLLM UI — all internal Next.js navigation goes here.
|
| 114 |
+
# Use a verbatim proxy_pass without trailing slash/path so Nginx passes
|
| 115 |
+
# the request URI (/ui, /ui/, /ui/login, etc.) completely unchanged to LiteLLM.
|
| 116 |
+
location /ui {
|
| 117 |
+
proxy_pass http://127.0.0.1:8080;
|
| 118 |
proxy_http_version 1.1;
|
| 119 |
proxy_set_header Host $host;
|
| 120 |
proxy_set_header X-Real-IP $remote_addr;
|