Skip to content

Commit b6c59f9

Browse files
committed
Fix Postgrest section of Caddyfile
1 parent d0f9741 commit b6c59f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

caddy/Caddyfile

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

33
# PostgREST
4-
handle /rpc/* {
4+
handle_path /rest/* {
55
reverse_proxy http://postgrest:3000
66
}
77

8-
handle_path /api/* {
8+
handle /rpc/* {
99
reverse_proxy http://postgrest:3000
1010
}
1111

0 commit comments

Comments
 (0)