{"action":"closed","issue":{"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/6316","repository_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads","labels_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/6316/labels{/name}","comments_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/6316/comments","events_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/6316/events","html_url":"https://github.com/easydigitaldownloads/easy-digital-downloads/issues/6316","id":289495052,"number":6316,"title":"EasyEngine/NginX missing from this page on your support site ","user":{"login":"TerenceMilbourn","id":4005326,"avatar_url":"https://avatars3.githubusercontent.com/u/4005326?v=4","gravatar_id":"","url":"https://api.github.com/users/TerenceMilbourn","html_url":"https://github.com/TerenceMilbourn","followers_url":"https://api.github.com/users/TerenceMilbourn/followers","following_url":"https://api.github.com/users/TerenceMilbourn/following{/other_user}","gists_url":"https://api.github.com/users/TerenceMilbourn/gists{/gist_id}","starred_url":"https://api.github.com/users/TerenceMilbourn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TerenceMilbourn/subscriptions","organizations_url":"https://api.github.com/users/TerenceMilbourn/orgs","repos_url":"https://api.github.com/users/TerenceMilbourn/repos","events_url":"https://api.github.com/users/TerenceMilbourn/events{/privacy}","received_events_url":"https://api.github.com/users/TerenceMilbourn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"SDavisMedia","id":2359131,"avatar_url":"https://avatars3.githubusercontent.com/u/2359131?v=4","gravatar_id":"","url":"https://api.github.com/users/SDavisMedia","html_url":"https://github.com/SDavisMedia","followers_url":"https://api.github.com/users/SDavisMedia/followers","following_url":"https://api.github.com/users/SDavisMedia/following{/other_user}","gists_url":"https://api.github.com/users/SDavisMedia/gists{/gist_id}","starred_url":"https://api.github.com/users/SDavisMedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDavisMedia/subscriptions","organizations_url":"https://api.github.com/users/SDavisMedia/orgs","repos_url":"https://api.github.com/users/SDavisMedia/repos","events_url":"https://api.github.com/users/SDavisMedia/events{/privacy}","received_events_url":"https://api.github.com/users/SDavisMedia/received_events","type":"User","site_admin":false},"assignees":[{"login":"SDavisMedia","id":2359131,"avatar_url":"https://avatars3.githubusercontent.com/u/2359131?v=4","gravatar_id":"","url":"https://api.github.com/users/SDavisMedia","html_url":"https://github.com/SDavisMedia","followers_url":"https://api.github.com/users/SDavisMedia/followers","following_url":"https://api.github.com/users/SDavisMedia/following{/other_user}","gists_url":"https://api.github.com/users/SDavisMedia/gists{/gist_id}","starred_url":"https://api.github.com/users/SDavisMedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDavisMedia/subscriptions","organizations_url":"https://api.github.com/users/SDavisMedia/orgs","repos_url":"https://api.github.com/users/SDavisMedia/repos","events_url":"https://api.github.com/users/SDavisMedia/events{/privacy}","received_events_url":"https://api.github.com/users/SDavisMedia/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-01-18T03:46:09Z","updated_at":"2018-02-19T17:04:05Z","closed_at":"2018-02-19T17:04:05Z","author_association":"NONE","body":"Missing from this page [http://docs.easydigitaldownloads.com/category/301-server](url) on your support site is the following explanation on editing the EasyEngine/NginX server config.\r\n\r\n--------------\r\n\r\nIn order to protect your EDD product upload directory when using EasyEngine and NginX, add the following config under server {} block at `/etc/nginx/sites-available/yourdomain.tld`\r\n\r\n`location ~ ^/wp-content/uploads/edd/(.*?)\\.zip$ { rewrite / permanent; }`\r\n\r\nAlso, depending on your PHP version, you can prevent page caching for logged-in users by adding/updating the following code here...\r\n\r\n`/etc/nginx/common/redis-php7.conf `\r\n\r\nor here...\r\n\r\n`/etc/nginx/common/redis.conf`\r\n\r\nI am going to assume you are using the Redis page cache and, in which case just need to add `edd_items_in_cart|` to the beginning of this line, so that it looks like this...\r\n\r\n`# Don't use the cache for logged in users or recent commenter if ($http_cookie ~* \"edd_items_in_cart|comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cache|wordpress_logged_in\") { set $skip_cache 1; }`\r\n\r\n--------------\r\n\r\nAnd that's all folks!"}}
{"actor":{"display_login":"SDavisMedia"}}