Tom716 commited on
Commit
dab4c51
·
verified ·
1 Parent(s): b03a150

Update Caddyfile

Browse files
Files changed (1) hide show
  1. Caddyfile +1 -10
Caddyfile CHANGED
@@ -4,18 +4,9 @@
4
  }
5
 
6
  :7860 {
7
- # Better Stack keep-alive health check
8
  respond /status "Caddy Proxy Active" 200
9
 
10
- # Route backend REST requests to NestJS on port 3000
11
- handle /api/* {
12
- reverse_proxy localhost:3000
13
- }
14
-
15
- # Serve compiled React SPA static assets from the project subfolder
16
  handle {
17
- root * /app/projects/telegram-send-demo/frontend/dist
18
- try_files {path} /index.html
19
- file_server
20
  }
21
  }
 
4
  }
5
 
6
  :7860 {
 
7
  respond /status "Caddy Proxy Active" 200
8
 
 
 
 
 
 
 
9
  handle {
10
+ reverse_proxy localhost:3000
 
 
11
  }
12
  }