Change permissions for nginx logs files and create them if they don't exists

In order to logstash be able to read the log files, they must have read permissions
for all.