# Version 1.6 [Updated:10.07.2023]
{
"applications": {
"jtlshop": {
"limits": {
"requests": 100,
"timeout": 30
},
"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",
"opcache.enable": "1",
"opcache.enable_cli": "1",
"opcache.jit_buffer_size": "256M",
"opcache.jit": "tracing"
}
},
"processes": {
"idle_timeout": 30,
"max": 10,
"spare": 2
},
"targets": {
"direct": {
"root": "/path/to/app/public/"
},
"index": {
"root": "/path/to/app/public/",
"script": "index.php"
},
"index-special-admin": {
"root": "/path/to/app/public/admin/",
"script": "index.php"
}
},
"type": "php 8.2",
"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-special-admin"
},
"share": "/path/to/app/public/$uri"
},
"match": {
"uri": [
"/admin/*"
]
}
},
{
"action": {
"fallback": {
"pass": "applications/jtlshop/index"
},
"share": "/path/to/app/public/$uri"
}
}
]
}
}