Skip to content

Commit b13263f

Browse files
committed
Fix Caddyfile
1 parent 79495aa commit b13263f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

caddy/Caddyfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
:80, :443 {
22

33
# PostgREST
4-
@postgrest path /api/* /rpc/*
5-
handle @postgrest {
4+
handle /rpc/* {
5+
reverse_proxy http://postgrest:3000
6+
}
7+
8+
handle_path /api/* {
69
reverse_proxy http://postgrest:3000
710
}
811

0 commit comments

Comments
 (0)