Seen many nginx tutorials omit a pretty critical (IMO) command before applying/reloading config changes: nginx -t.
nginx -t will quickly tell you if you've screwed something up before actually trying to apply changes.
nginx -t will quickly tell you if you've screwed something up before actually trying to apply changes.