3 ms·
For instance I use following config (nginx.json) for nginx: { "user": ["_env", "${USER}"], "cwd": "/var/www", "standardEnv": true, "numFiles": 1024
by armenb 12y ago
For instance I use following config (nginx.json) for nginx:
{
"user": ["_env", "${USER}"],
"cwd": "/var/www",
"standardEnv": true,
"numFiles": 1024,
"binary": "/usr/sbin/nginx"
}
And php-fpm.json:
{
"user": ["_env", "${USER}"],
"cwd": "/usr/sbin",
"standardEnv": true,
"numFiles": 1024,
"binary": "php-fpm",
"args": [
"-F"
]
}
Hope that helps
- armenb 12y agoForgot to tell you that nginx shouldn't be daemonized: echo "daemon off;" >> /etc/nginx/nginx.conf