Welcome to the first blog post of my life:) The main reason I decided to create a blog is to improve my writing skills in English. I decided to start just describing my everyday programming problems, so if anyone will find something interesting in the future, that would be great!
I have used out of the box sail solution previously, but I wanted to have simultaneus requests handling.
The main pitfall of this approach is that php artisan generated files have a root owner even on the host machine.
Solution is to change the www-data group gid, create a new user who has a login possibility, and assign it to the www-data group.