Reverse Proxy Setup

Serve traffic from a custom subpath, from your domain.

If you have a custom setup, in which your WordPress install is on a subpath (e.g. /blog/), you can easily redirect the traffic to our nodes, using a reverse proxy. If your server uses Nginx, the following configuration is necessary:

location /blog/ {
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_set_header Host $http_host;
    proxy_set_header X-Forwarded-Proto $scheme;

    proxy_pass http://geo1.presslabs.net;

    proxy_redirect off;
    proxy_http_version 1.1;
    proxy_buffering off;
    chunked_transfer_encoding off;
}

Using this setup, you won't benefit from our edge network and we can't guarantee 100% uptime, but you'll benefit from the other features we're offering.

See Also

CDN specifications

This section is dedicated to CDN related topics. We have built our own Content Delivery Network, [...]

Collecting data when an ad blocker is enabled

There's always a smarter way to get to the destination. Here's the automated way of collecting [...]

DNS Specifications

Here you can find details about DNS management and how the DNS failover works. We also use Amazon [...]

File Structure

Here's our specs wardrobe—how WordPress site files organized at Presslabs, e.g. themes, plugins, [...]