fix: Add cache headers to Ponder GraphQL proxy in Caddy (#447)
This commit is contained in:
parent
b711860152
commit
1abe51b348
1 changed files with 1 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
reverse_proxy webapp:5173
|
reverse_proxy webapp:5173
|
||||||
}
|
}
|
||||||
route /api/graphql* {
|
route /api/graphql* {
|
||||||
|
header Cache-Control "public, max-age=5"
|
||||||
uri strip_prefix /api
|
uri strip_prefix /api
|
||||||
reverse_proxy ponder:42069
|
reverse_proxy ponder:42069
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue