Skip to content

CDNetworks Documentation

The Staging Environment permalink

When you create or change a property configuration, you are basically coding with the Nginx configuration language. Nginx configuration is mostly a declarative language because it tries to describe the end result instead of the steps to process each request. While it has its benefits, it can also sometimes be confusing. Some parts of this language are actually imperative, most notably the directives in the rewrite module. For a complicated configuration, it is common that you will need a place to verify you achieve the behavior you expect. This is where the staging environment comes in handy.

The staging environment has a few isolated CDN Pro proxy servers on which you can test the property configuration. You can fully test a server’s behavior and make sure it meets your complete expectations before you deploy the property to the production servers. The staging environment serves as a run-time test environment for the code you write. For your reference, here is a workflow of the CDN Pro service provisioning and how to test with the staging environment. You can also purge the staging servers to test the purging behavior. To find the IP addresses of the staging servers, call our staging servers API.