server { listen 8080; root /usr/share/nginx/html; index index.html; # Support client-side routing location / { try_files $uri $uri/ /index.html; } }