Use extra nginx reverse proxy for cors issue/proper preflight caching #15
Labels
No labels
Documentation
Infrastructure
Redaktions-App
User-App
backend
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
Effort
High
Effort
Low
Effort
Medium
Prio
High
Prio
Low
Prio
Medium
Type
Bug
Type
Feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: NB-Public/kandimat#15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Currently, postgraphile takes care of cors, however this may lead to significant performance issues in production since preflight-caching doesn't really work (see this github issue/comment.
Add an nginx pod to the docker-compose setup which reverse-proxies to the graphql container and takes care of preflight caching. See e.g. nginx reverse proxy in docker-compose.