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_
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