Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NGX-878: Update Nginx Site Configuration (#72)
Add two additional pieces of logic into the server hostname block. - Requests to 'wp-json' are able to be proxied as if the request was made to the site url - Requests with the 'rest_route' query string are able to be proxied as if the request was made to the site url All other requests to the server hostname will not be proxied as if they were made to the site url. This prevents the entire WordPress site from being accessible over the server hostname.
- Loading branch information