Spaces:
Running
Running
Hermes Agent commited on
Commit ·
ae06de8
1
Parent(s): cedbed6
Add /assets/ proxy route to nginx.conf for Open WebUI Inter & Vazirmatn font assets
Browse files- nginx.conf +7 -1
nginx.conf
CHANGED
|
@@ -26,7 +26,7 @@ http {
|
|
| 26 |
return 301 /webui/;
|
| 27 |
}
|
| 28 |
|
| 29 |
-
# Open WebUI Frontend Static Assets & Modules
|
| 30 |
location /_app/ {
|
| 31 |
proxy_pass http://127.0.0.1:8098/_app/;
|
| 32 |
proxy_http_version 1.1;
|
|
@@ -35,6 +35,12 @@ http {
|
|
| 35 |
proxy_set_header Host $host;
|
| 36 |
}
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
location /static/ {
|
| 39 |
proxy_pass http://127.0.0.1:8098/static/;
|
| 40 |
proxy_http_version 1.1;
|
|
|
|
| 26 |
return 301 /webui/;
|
| 27 |
}
|
| 28 |
|
| 29 |
+
# Open WebUI Frontend Static Assets, Fonts & Modules
|
| 30 |
location /_app/ {
|
| 31 |
proxy_pass http://127.0.0.1:8098/_app/;
|
| 32 |
proxy_http_version 1.1;
|
|
|
|
| 35 |
proxy_set_header Host $host;
|
| 36 |
}
|
| 37 |
|
| 38 |
+
location /assets/ {
|
| 39 |
+
proxy_pass http://127.0.0.1:8098/assets/;
|
| 40 |
+
proxy_http_version 1.1;
|
| 41 |
+
proxy_set_header Host $host;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
location /static/ {
|
| 45 |
proxy_pass http://127.0.0.1:8098/static/;
|
| 46 |
proxy_http_version 1.1;
|