Serve static content
How to serve static content on a Node.js environment.
Ready to get started with WordPress VIP? Contact us
Showing page 10 of 17
How to serve static content on a Node.js environment.
An application on VIP can include one or more environments, and users may have access to more than one application hosted on VIP. A VIP-CLI command can only be run against one environment at a time, so both an application and an environment type must be specified in a VIP-CLI command.
Basic Authentication is useful when other methods of site restriction are not available. Common uses for Basic Authentication are for restricting access to non-production environments, or to production environments that are not yet launched and still under development.
The IP Restrictions panel in the VIP Dashboard allows IP addresses—or ranges of IP addresses (aka subnets)—to be added to an “IP Allow List” or an “IP Deny List” for an application’s environment.
Once a site is ready to launch, the DNS for a site’s new domain must be updated with the DNS provider and pointed at VIP for the site to be publicly available at that domain.
When running long-running custom WP-CLI commands, or commands that will affect many records, it is recommended to save the output to a file for review.
By default, Enterprise Search will index all public post types, their statuses and their public taxonomy terms. Use allow lists and indexables to selectively index additional post types, statuses, taxonomies, and post meta.
Environment variables are a method for injecting information into WordPress and Node.js WPVIP Platform environments.
Use VIP-CLI to check if an index is in sync with a database, or to debug issues related to Enterprise Search.
By following best practices when writing a custom WP-CLI command, the command is more likely to be performant, and easier to debug and maintain over time.