added possibility to specify the user and group of apache/nginx