Skip to content

Instantly share code, notes, and snippets.

@scari
Created June 13, 2013 09:00
Show Gist options
  • Save scari/5772280 to your computer and use it in GitHub Desktop.
Save scari/5772280 to your computer and use it in GitHub Desktop.
post_action with named location
location / {
uwsgi_pass unix:app.sock;
post_action @post_action;
}
location @post_action {
proxy_pass http://dst_host:dst_port;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment