Configuratiebestand
Elke SuperSpace-site bevat een configuratiebestand, cloudpress.yml, waarmee je
kunt aanpassen hoe het platform je site serveert. (Voor het grotere geheel van hoe
sites draaien, zie Het platform.)
Op dit moment kun je met dit configuratiebestand het volgende wijzigen:
- Het publieke pad van je website
- Waar de SuperSpace MU Plugins worden geïnstalleerd
- Waar de SuperSpace WordPress-configuratie wordt geïnstalleerd
- Of je Bedrock gebruikt of niet.
Je vindt het configuratiebestand in de root van het volume van je container: /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
Nadat je een wijziging hebt aangebracht, herstart je je website met de actie 'Restart' onder Instellingen in de SuperSpace-gebruikersinterface.