Skip to content

Commit 79495aa

Browse files
committed
Fix postgrest in caddyfile
1 parent 159ea3d commit 79495aa

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

caddy/Caddyfile

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

33
# PostgREST
4-
handle_path /rest/* {
5-
reverse_proxy http://postgrest:3000
6-
}
7-
8-
handle /rpc/* {
4+
@postgrest path /api/* /rpc/*
5+
handle @postgrest {
96
reverse_proxy http://postgrest:3000
107
}
118

0 commit comments

Comments
 (0)