Skip to content

Commit d0f9741

Browse files
committed
Adjust Caddyfile
1 parent b13263f commit d0f9741

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

caddy/Caddyfile

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

3-
# PostgREST
4-
handle /rpc/* {
5-
reverse_proxy http://postgrest:3000
6-
}
3+
# PostgREST
4+
handle /rpc/* {
5+
reverse_proxy http://postgrest:3000
6+
}
77

8-
handle_path /api/* {
9-
reverse_proxy http://postgrest:3000
10-
}
8+
handle_path /api/* {
9+
reverse_proxy http://postgrest:3000
10+
}
1111

12-
# Swagger UI
13-
handle_path /openapi/* {
14-
reverse_proxy swagger-ui:8080
15-
}
12+
# Swagger UI
13+
handle_path /openapi/* {
14+
reverse_proxy swagger-ui:8080
1615
}

0 commit comments

Comments
 (0)