Set a vCanopy site as the Default Site for Nginx

Introduction  Typically, on an Nginx server, if a request to your server can’t be completed then Nginx will choose the first virtual server it can to serve alphanumerically. You might have seen this happen when you have the HSTS header for a site cached in your browser and then you create a new site on […]

Using Domain Names with International Characters

If you’re trying to add a website to vCanopy and the domain name has international characters (e.g. é and ä), you will first need to convert it into “Punycode” before you can provision them as a website on your server.  Punycode is a representation of Unicode with the limited ASCII character subset used for Internet hostnames. – Wikipedia As an example, […]

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 vCanopy 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 grant SUPER permissions for your website

Some WordPress plugins require SUPER permissions for the database user. Previously, before we implemented a fix for this issue, if a site needed these permissions, a live->staging or staging->live push will fail, and you may have see nerrors such as: ERROR 1227 (42000) at line 4560 in file: ‘/var/www/site.url/htdocs/sourcedatabase.sql’: Access denied; you need (at least one of) the SUPER […]

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 […]

WP-Cron and vCanopy’s GP-Cron

WP-Cron is how WordPress handles scheduling time-based tasks such as checking for updates and publishing scheduled post. At vCanopy, we have GP-Cron, which does the same thing, but at the server level. Unlike WP-Cron, which relies on people visiting your website, you can set it to run at specific time intervals, which assures that things […]