martynka commited on
Commit
71f48de
·
verified ·
1 Parent(s): 2ac221e

Update Caddyfile

Browse files
Files changed (1) hide show
  1. Caddyfile +9 -9
Caddyfile CHANGED
@@ -6,7 +6,7 @@
6
  :7860 {
7
 
8
  # Sudo API endpoints
9
- handle_path /sudo/* {
10
  reverse_proxy localhost:5000 {
11
  header_up Host {host}
12
  header_up X-Forwarded-Host {host}
@@ -15,13 +15,13 @@
15
  }
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}
23
- header_up X-Forwarded-Proto {scheme}
24
- header_up X-Real-IP {remote}
 
25
  }
26
  }
27
- }
 
6
  :7860 {
7
 
8
  # Sudo API endpoints
9
+ route /sudo/* {
10
  reverse_proxy localhost:5000 {
11
  header_up Host {host}
12
  header_up X-Forwarded-Host {host}
 
15
  }
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}
23
+ header_up X-Forwarded-Proto {scheme}
24
+ header_up X-Real-IP {remote}
25
+ }
26
  }
27
  }