server { listen 80; server_name _; root /app; index index.html; location / { try_files \$uri \$uri/ /index.html; } }