WooCommerce Secure Downloads outsite of webroot
-
Hello, I’ve the same problem as here How to Create WooCommerce Secure Downloads I’ve entered the absolute path to the file outsite of the webroot. No spaces in the file.
I’ve created a test order, the download starts. Filename and extension (.mp4) works fine. But the download starts and aborts right away. So nothing is downloaded. I’ve used the X-Accel-Redirect/X-Senfile method.
The downloads work in general if I use for example the /uploads folder and enter the file via the media library. But since I want to have it secure, I’m trying the outside of the webroot method.Are there some permission I need to set somewhere (on the nginx server for example?)
Would be nice if someone can help me figure that out.
- The topic ‘WooCommerce Secure Downloads outsite of webroot’ is closed to new replies.