Skip to content

Instantly share code, notes, and snippets.

@daoleno
Created October 29, 2018 03:03
Show Gist options
  • Save daoleno/540e946126d8157387a0e475be60cd11 to your computer and use it in GitHub Desktop.
Save daoleno/540e946126d8157387a0e475be60cd11 to your computer and use it in GitHub Desktop.
Client sends HTTP request → Nginx chooses the appropriate handler based on the location config → (if applicable) load-balancer picks a backend server → Handler does its thing and passes each output buffer to the first filter → First filter passes the output to the second filter → second to third → third to fourth → etc. → Final response sent to client

reference

Emiller’s Guide To Nginx Module Development

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