502 Gateway on Fresh Install error

This is the tutorial i am following