SamuelLance73 commited on
Commit
7624d40
·
verified ·
1 Parent(s): e398b60

Automated deployment update from ML build

Browse files
Files changed (1) hide show
  1. config/nginx.conf.template +4 -2
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
- location /ui/ {
115
- proxy_pass http://127.0.0.1:8080/ui/;
 
 
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;