We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7af248 commit 201eba8Copy full SHA for 201eba8
caddy/Caddyfile
@@ -1,12 +1,16 @@
1
:80, :443 {
2
- handle_path /rest/* {
3
- reverse_proxy postgrest:3000
4
- }
5
- handle_path /api/* {
6
7
8
- reverse_proxy /rpc/* postgrest:3000
9
- handle_path /openapi/* {
10
- reverse_proxy swagger-ui:8080
11
+
+ # PostgREST
+ handle_path /rest/* {
+ reverse_proxy http://postgrest:3000
+ }
+ handle /rpc/* {
12
+ # Swagger UI
13
+ handle_path /openapi/* {
14
+ reverse_proxy swagger-ui:8080
15
16
}
0 commit comments