Skip to content

Conversation

zardus
Copy link
Member

@zardus zardus commented Aug 30, 2025

This (marginally?) reduces the load on our ctfd workers by serving (some) static content directly via nginx. Some caveats:

  • CTFd does automatic fallback to the built-in files for stuff dojo_theme doesn't override. Because of this, I still have to forward the request onwards to ctfd (to avoid mounting ctfd into the nginx container somehow), so this only handles probably less than half of the static requests.
  • I have no idea what the security implications are of this. I think it's fine, but not completely sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant