Fix: X-Accel-Redirect did not support custom data dir and local mounts

I was moving my install with a custom data directory and a local mount to ngnix, and I ran into this problem. (Cloud not download anything with MOD_X_ACCEL_REDIRECT_ENABLED on). It was a nightmare to debug, but here it is.

This contribution is MIT licensed.