server { listen 8080; server_name _; # Root-Verzeichnis root /usr/share/nginx/html; # Alle Anfragen einfach auf root Location location / { try_files $uri $uri/ /index.html; } # Error pages error_page 404 /index.html; }