Add hostname task.
Change php session directory owner group to nginx.
Put nginx user to nagios group.