Update wp.sh

This commit is contained in:
NewName
2024-12-28 08:59:38 +08:00
parent ccd14fb1bf
commit 004c9e4f86

View File

@@ -115,7 +115,7 @@ fi
sudo bash -c "cat > /etc/caddy/Caddyfile" <<EOF sudo bash -c "cat > /etc/caddy/Caddyfile" <<EOF
$DOMAIN { $DOMAIN {
root * /var/www/html/wordpress root * /var/www/html/wordpress
encode brotli gzip encode zstd gzip
php_fastcgi unix//run/php/php${PHP_VERSION}-fpm.sock php_fastcgi unix//run/php/php${PHP_VERSION}-fpm.sock
file_server file_server
} }