feat(forgejo-code): add proxy cache for avatars and assets #932

Closed
viceice wants to merge 2 commits from refs/pull/939/head99a2280a42b23c30960a5fbe141a73a10f208d06 into main62a9df1f5b06403667306ea5131ac5d012f1d76c
First-time contributor

same as #935 and #937

same as #935 and #937
chore: fix comments
Some checks failed
build / lint (push) Has been cancelled
build / lint (pull_request) Has been cancelled
/ test (pull_request) Has been cancelled
99a2280a42
viceice closed this pull request 2025-12-08 13:20:44 +00:00
earl-warren left a comment
First-time contributor

Default body added by F3

Default body added by F3
@ -0,0 +14,4 @@
# https://doc.traefik.io/traefik/v3.1/routing/routers/#rule
- match: HostRegexp(`code.forgejo.org`) && Method(`GET`) && (PathPrefix(`/assets/`) || PathPrefix(`/avatars/`))
kind: Rule
priority: 1200 # higher than anubis
First-time contributor

for testing or for real?

for testing or for real?
Author
First-time contributor

for real 🙈

for real 🙈
Author
First-time contributor
https://invisible.forgejo.org/infrastructure/k8s-cluster/commit/99a2280a42b23c30960a5fbe141a73a10f208d06
crystal approved these changes 2025-12-08 13:20:46 +00:00
Some checks failed
build / lint (push) Has been cancelled
build / lint (pull_request) Has been cancelled
/ test (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No description provided.