Nginx Unit with PHP Docker container builded for ARM64 and AMD64 architectures
349
Nginx Unit with PHP Docker container builded for ARM64 and AMD64 architectures
Builded on official Nginx Unit images. You can find documentation on: https://unit.nginx.org/installation/#docker-images
Laravel config:
{
"listeners": {
"*:80": {
"pass": "routes"
}
},
"routes": [
{
"match": {
"uri": [
"*.php",
"*.php/*"
]
},
"action": {
"pass": "applications/laravel/direct"
}
},
{
"action": {
"share": "/var/www/public/$uri",
"fallback": {
"pass": "applications/laravel/index"
}
}
}
],
"applications": {
"laravel": {
"type": "php",
"processes": 5,
"user": "user",
"group": "user",
"targets": {
"direct": {
"root": "/var/www/public/"
},
"index": {
"root": "/var/www/public/",
"script": "index.php"
}
}
}
}
}
Content type
Image
Digest
sha256:d042cabd9…
Size
164.5 MB
Last updated
almost 4 years ago
docker pull medic84/php-unit