PHP is detected if a
index.php file is found.
Note that Laravel apps need an
APP_KEY environment variable in order to work.
nginx.template.conf (see this file for an example of template syntax) file is found in the project root directory, that configuration will be used.
NIXPACKS_PHP_ROOT_DIR variable is passed, that will be used as the server root. If a
NIXPACKS_PHP_FALLBACK_PATH variable is passed, that will be used as a fallback for the server - for instance, if your app uses
index.php as a router, you would set this variable to
The following PHP versions are available
The version is automatically detected by parsing your
This provider runs a Perl script to correct permissions and manage the Nginx configuration, and then starts Nginx.