server { listen 8080; server_name localhost; location / { root /app; try_files $uri /$uri /index.html; } }