Skip to content

Commit

Permalink
Configure wp-config.php
Browse files Browse the repository at this point in the history
1. Reverse proxy
2. DB direct access
3. WP Super Cache plugin support
4. Redis plugin support
5. Debug support
  • Loading branch information
basilhendroff committed Oct 18, 2020
1 parent 0d4fbd1 commit 855f68e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wordpress-jail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ INCLUDES_PATH="${SCRIPTPATH}"/includes

RELEASE=$(freebsd-version | sed "s/STABLE/RELEASE/g" | sed "s/-p[0-9]*//")
#RELEASE="12.1-RELEASE"
JAILS_MOUNT=$(zfs get -H -o value mountpoint $(iocage get -p)/iocage)

#####################################################################
print_msg "Input/Config Sanity checks..."
Expand Down Expand Up @@ -261,6 +260,9 @@ iocage exec "${JAIL_NAME}" sed -i '' "s|database_name_here|wordpress|" /usr/loca
iocage exec "${JAIL_NAME}" sed -i '' "s|username_here|wordpress|" /usr/local/www/wordpress/wp-config.php
iocage exec "${JAIL_NAME}" sed -i '' "s|password_here|${DB_PASSWORD}|" /usr/local/www/wordpress/wp-config.php

# Configure wp-config.php.
iocage exec "${JAIL_NAME}" /usr/local/bin/bash /mnt/includes/wp-config.sh

##################################################################### ???
print_msg "Configure and start REDIS..."

Expand Down

0 comments on commit 855f68e

Please sign in to comment.