# Version 1.2 [Updated:23.11.2021]
{
"applications": {
"jtlshop": {
"limits": {
"requests": 100,
"timeout": 10
},
"options": {
"admin": {
"open_basedir": "/path/to/app",
"sys_temp_dir": "/path/to/app/tmp",
"upload_tmp_dir": "/path/to/app/tmp"
"error_log": "/path/to/app/log/php.log",
"session.save_path": "/path/to/app/sessions",
"max_execution_time": "180",
"upload_max_filesize": "20M",
"post_max_size": "20M",
"memory_limit": "128M",
"error_reporting": "32767",
"log_errors": "on",
}
},
"processes": {
"idle_timeout": 20,
"max": 10,
"spare": 2
},
"targets": {
"direct": {
"root": "/path/to/app/public/"
},
"index": {
"root": "/path/to/app/public/",
"script": "index.php"
}
},
"type": "php 7.4",
"user": "unit-jtlshop"
}
},
"listeners": {
"127.0.0.1:9001": {
"pass": "routes/jtlshop"
}
},
"routes": {
"jtlshop": [
{
"action": {
"pass": "applications/jtlshop/direct"
},
"match": {
"uri": [
"*.php"
]
}
},
{
"action": {
"fallback": {
"pass": "applications/jtlshop/index"
},
"share": "/path/to/app/public/"
}
}
]
}
}