Add improved nginx configuration #5
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two modifications here:
1. attachments
To support viewing attachments in a way that a) checks user permissions, and b) still serves the content effeciently via nginx, these nginx blocks were added more recently than when the recipe was made (see
26e36067c4/roles/karrot-backend/templates/nginx.j2 (L103-L120)
):To actually use the
X-Accel-Redirect
support it would also need adding in the karrot app environment as:2. serve django static content
Current:
Change to:
This means the swagger API interface should work again (should be viewable at
/docs/
)