Spaces:
Running
Running
Update Caddyfile
Browse files
Caddyfile
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
:7860 {
|
7 |
|
8 |
# Sudo API endpoints
|
9 |
-
|
10 |
reverse_proxy localhost:5000 {
|
11 |
header_up Host {host}
|
12 |
header_up X-Forwarded-Host {host}
|
@@ -16,7 +16,7 @@
|
|
16 |
}
|
17 |
|
18 |
# Main LibreChat frontend
|
19 |
-
|
20 |
reverse_proxy localhost:3080 {
|
21 |
header_up Host {host}
|
22 |
header_up X-Forwarded-Host {host}
|
|
|
6 |
:7860 {
|
7 |
|
8 |
# Sudo API endpoints
|
9 |
+
handle /sudo* {
|
10 |
reverse_proxy localhost:5000 {
|
11 |
header_up Host {host}
|
12 |
header_up X-Forwarded-Host {host}
|
|
|
16 |
}
|
17 |
|
18 |
# Main LibreChat frontend
|
19 |
+
handle {
|
20 |
reverse_proxy localhost:3080 {
|
21 |
header_up Host {host}
|
22 |
header_up X-Forwarded-Host {host}
|