setting nginx host for log thread