Seth0330 commited on
Commit
0ff261f
·
verified ·
1 Parent(s): c019ed4

Create Caddyfile

Browse files
Files changed (1) hide show
  1. Caddyfile +8 -0
Caddyfile ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ :7860
2
+
3
+ # Serve React build
4
+ root * /app/frontend/dist
5
+ file_server
6
+
7
+ # Proxy API to FastAPI
8
+ reverse_proxy /api/* 127.0.0.1:8000