Re: proxy_pass in post_action location does not send any http request

2020-01-10 Thread clintmiller
Hi, jacks. I use post_action for something similar to this for keeping track of users who download files. I've got a location for the /download entry point like this: location ~ /download/ { proxy_pass http://app_pool; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_

Is post_action skipped when an upstream app server returns a X-Accel-Redirect header is used?

2018-02-12 Thread clintmiller
The post_action in the config for my Nginx 1.12.1 instance is not firing (or does not appear to be). I'm wondering if it is because my app server is returning a X-Accel-Redirect header. The ultimate goal is track when downloads hosted on S3 have completed. Step 1: The request hits nginx at ht