fixed nginx/template