Ensure that the /home/discourse directory can be executed, otherwise nginx can't read application/public.