server { listen 8080; root /usr/share/nginx/html; index index.html; # Debug logging error_log /dev/stderr debug; access_log /dev/stdout combined; # Support client-side routing location / { try_files $uri $uri/ /index.html; } }