Setup EDD

1. Fix Download Files Not Protected on NGINX

Vu Nam Hung
Aug 29, 2017 · 1 min read

For Easy Engine VPS

cd /var/www/domain.com/conf/nginx
touch edd.conf

and add this code to edd.conf

rewrite ^/wp-content/uploads/edd/(.*)\.zip$ / permanent;

next reload nginx without restart it.

nginx -s reload

Vu Nam Hung

Ghi chép linh tinh

)
    Vu Nam Hung

    Written by

    Coder, *nixer, Music lover

    Vu Nam Hung

    Ghi chép linh tinh

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade