In addition to Osiris comments, yes, I would look at why that is happening. Might be harmless but might cause unexpected behavior.
Run the sudo nginx -T
command which shows the full nginx active conf. Just view it carefully and you will likely see a duplicate use of those names.