Nginx setup task failed - ghost install Ubuntu

Hi, I’m trying to follow the Ghost install on ubuntu.

I’ve installed Nginx per the instructions; however when I run “ghost install” I’m getting the following error “Nginx setup task failed”

Screenshot below.

Can anyone please advise?



Hi @greatdanehugs44! That’s odd. Try using the command:

sudo nginx -s reload

This should give you more a useful output to see what might be going wrong

Thanks @DavidDarnes that worked + that gave me a more meaningful error message. It was because my domain name was too long.

SO post to fix this for anyone who runs into it:

1 Like