Last active
January 9, 2025 11:15
-
-
Save ideadude/5a1aee9956891da32d97dafd6b5b9820 to your computer and use it in GitHub Desktop.
NGINX rule to lock down files with Paid Memberships Pro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rewrite ^/wp-content/uploads/(.*)$ /wp-content/plugins/paid-memberships-pro/services/getfile.php last; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This recipe is included in the blog post on "Locking Down (Protecting) Files with PMPro" at Paid Memberships Pro here: https://www.paidmembershipspro.com/locking-down-protecting-files-with-pmpro/