Created
November 14, 2018 22:01
-
-
Save toklok/390da9850d01dc21bb8745cbffe9ad3a to your computer and use it in GitHub Desktop.
wp-json/ restrict api nginx
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
| for nginx: location ~ ^/wp-json/ { return 404; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment