Skip to content

Configuration file

Every SuperSpace site includes a configuration file, cloudpress.yml, that lets you customize how the platform serves your site. (For the bigger picture of how sites run, see The platform.)

Currently, this configuration file allows you to change:

  • The public path of your website
  • Where the SuperSpace MU Plugins are installed
  • Where the SuperSpace WordPress configuration is installed
  • Whether or not you're using Bedrock.

You will find the configuration file in the root of your container's volume: /home/sftpuser/apps/{{ container name }}/wordpress/cloudpress.yml

##
# SuperSpace Configuration File
##
version: 1.0
site:
  # Define the public path of your webiste. This will be used to configure nginx.
  webroot: html/wordpress
  wordpress:

    # Template: none, roots-bedrock
    # - `roots-bedrock` will ignore `wp_config_path`
    #   and `cloudpress_plugin_path` and instead
    #   infer the correct path following the bedrock standard.
    template: none

    # Path to the WordPress installation.
    # This is used to set the `--path` with wp-cli.
    #
    # When template is `roots-bedrock`, set to parent `bedrock` path
    path: html/wordpress

    # Path to the WordPress configuration file.
    # This is used to set the `--config-file` parameter with wp-cli
    #
    # Only used when `template` is none.
    wp_conf_path: html/wordpress/wp-config.php

    # Where we will install our plugins to enable the SuperSpace
    # integrations to function correctly.
    #
    # Only used when `template` is none.
    cloudpress_plugin_path: html/wordpress/wp-content/mu-plugins
  nginx:
    cache:
      enabled: true

After you make a change, please restart your website using the 'Restart' action under Settings, in the SuperSpace user interface.