working with laravel octane

This commit is contained in:
Ronald A. Richardson
2024-01-30 20:07:22 +08:00
parent 6a68c85d94
commit 8628695b0b
4 changed files with 42 additions and 26 deletions

View File

@@ -1,18 +1,12 @@
{
# Enable FrankenPHP
frankenphp
# Configure when the directive must be executed
order php_server before file_server
}
http://localhost:8080 {
# Set the webroot to the public/ dir
root * /app/public
# Enable compression
http://localhost:8000 {
root * /fleetbase/api/public
encode zstd gzip
# Execute PHP files in the current directory and serve assets
php_server {
# Required for the public/storage/ dir
resolve_root_symlink
}
}
}