I move my site from host’s Apache to new host’s Nginx. Everything working well except X-Accell-Redirect/X-Sendfile mode in Woocommerce setting.
My site use Woocommerce 2.1.1, Amazon S3 download 1.4. We allow user download files from Amazon S3 but we dont want user know url or where we storage files.
When i set “Force download” mode on Woocommerce setting, it’s ok but slow speed. But when i set “X-Accell-Redirect” … file downloaded with 10kb while it’s 1,2Gb.
Please help me slove this problem, setting correct nginx config.
Thanks in advanced.