Update wp.sh

This commit is contained in:
NewName
2024-10-06 15:40:51 +08:00
parent 580f3ae977
commit 2946c2392a

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 zstd gzip encode brotli 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
} }