Making Nginx Accept PUT, DELETE and PATCH verbs

UPDATE – PUT AND DELETE REQUESTS PUT and DELETE requests are no longer blocked on Nginx servers by default, however, you may still need to configure the dav_methods outlined in this article for your website if the requires them. Introduction Modern servers do not allow for PUT DELETE PATCH requests to be available by default. On Nginx, these aren’t even possible actions within the […]

How to Create Nginx Redirects (with Examples)

Intro  Sometimes you might need to do different kinds of redirects that aren’t quite covered by our normal redirects. In this article, we’ll look at several redirect examples, and add to them over time. TABLE OF CONTENTS Getting Started Let’s Encrypt and Redirects 1. Regular Nginx Redirects 2. Old Domain to New Domain 3. Redirecting […]

Nginx Rate Limiting and Plugins (Including Oxygen)

Third-Party Software Notice Our support team cannot provide support for third-party software and services. However, if you need assistance or spot an issue with this article please post in the GridPane Community Forum, and we will make necessary updates/improvements where needed. Introduction This article was originally focused on the Oxygen Builder, which is our most […]

How to add your own custom Nginx headers (or reset existing headers)

To add a custom header to your websites you can use the more_set_headers directive. https://github.com/openresty/headers-more-nginx-module This article will walk you through how to: – Add a custom header to either an individual website Add a custom header to all of the websites on your server Formatting Reset existing headers Reset headers on static files Use custom headers […]

Redirects with non-existent PHP files

There may be times when you need to move a website that was previously built with URLs that ended in “.php“. For example: www.website.com/about.php. To ensure that you don’t lose any of the SEO benefits for these pages, you’ll need to set up 301 redirects for them to point to their new URL. If you’d like […]

PUT Requests for the WooCommerce API and Other Plugins

UPDATE – PUT AND DELETE REQUESTS PUT and DELETE requests are no longer blocked on Nginx servers by default, however, you may still need to configure the dav_methods outlined in this article for your website if the requires them. Introduction  Modern servers do not allow for PUT or DELETE requests to be available by default. On Nginx, these aren’t […]