diff --git a/conf/nginx.conf b/conf/nginx.conf index 7d3d1d5..2d8e196 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -14,7 +14,8 @@ location __PATH__/ { location ~ ^/api/(?!http.php/)(.*) { try_files $uri $uri/ /api/http.php/$1; } - location ~ ^/pages/(?!index.php/)(.*) { + + location ~ ^/pages/(?!index.php/)(.*) { try_files $uri $uri/ /pages/index.php/$1; } diff --git a/manifest.toml b/manifest.toml index 78cfdca..2e910f4 100644 --- a/manifest.toml +++ b/manifest.toml @@ -144,7 +144,7 @@ ram.runtime = "50M" api.protected = true [resources.apt] - packages = "mariadb-server php8.0-mysql php8.0-gd php-php-gettext php8.0-imap php8.0-fpm php8.0-mbstring php8.0-xml php8.0-zip php8.0-intl php8.0-curl curl" + packages = "mariadb-server php8.1-mysql php8.1-gd php-php-gettext php8.1-imap php8.1-fpm php8.1-mbstring php8.1-xml php8.1-zip php8.1-intl php8.1-curl curl" [resources.database] type = "mysql"