Update wp.sh
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user