diff --git a/provision/wordpress.sh b/provision/wordpress.sh index e1974bfa..4fa11e16 100755 --- a/provision/wordpress.sh +++ b/provision/wordpress.sh @@ -16,7 +16,7 @@ install_wordpress() assure_jail mysql install_nginx - install_php 81 "ctype curl dom exif fileinfo filter ftp gd iconv intl mbstring mysqli pecl-imagick-im7 session tokenizer xml zip zlib" + install_php 82 "ctype curl dom exif fileinfo filter ftp gd iconv intl mbstring mysqli pecl-imagick session tokenizer xml zip zlib" # stage_pkg_install wordpress stage_port_install www/wordpress @@ -64,56 +64,6 @@ configure_nginx_server() configure_nginx_server_d wordpress } -configure_nginx_with_path() -{ - if [ -f "$STAGE_MNT/data/etc/nginx-locations.conf" ]; then - tell_status "preserving /data/etc/nginx-locations.conf" - return - fi - - local _uri_path="$1" - if [ -z "$_uri_path" ]; then - tell_status "using /wpn (wordpress network) for WP url path" - _uri_path="/wpn" - fi - - store_config "$STAGE_MNT/data/etc/nginx-locations.conf" <<'EO_WP_NGINX' - - server_name wordpress; - index index.php; - root /usr/local/www/wordpress; - - # all PHP scripts, optionally within /wpn/ - location ~ ^/(?:wpn/)?(?