Issue has been solved, our / partition was full because of a mistake. and the nginx file could not be written.
Closed.