We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 159ea3d commit 79495aaCopy full SHA for 79495aa
1 file changed
caddy/Caddyfile
@@ -1,11 +1,8 @@
1
:80, :443 {
2
3
# PostgREST
4
- handle_path /rest/* {
5
- reverse_proxy http://postgrest:3000
6
- }
7
-
8
- handle /rpc/* {
+ @postgrest path /api/* /rpc/*
+ handle @postgrest {
9
reverse_proxy http://postgrest:3000
10
}
11
0 commit comments