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