diff --git a/nixpacks.toml b/nixpacks.toml index fc44cc8..2e9844c 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -1,2 +1,3 @@ [variables] -NIXPACKS_PHP_FALLBACK_PATH = "/index.php" \ No newline at end of file +NIXPACKS_PHP_FALLBACK_PATH = "/index.php" +NIXPACKS_PHP_ROOT_DIR = "/app/public" \ No newline at end of file diff --git a/index.php b/public/index.php similarity index 71% rename from index.php rename to public/index.php index 035f6f9..fb5e076 100644 --- a/index.php +++ b/public/index.php @@ -1,9 +1,9 @@