Thanks again for the helpful hint. I noticed that it seems to be possible to remove the $uri part –
try_files $uri/ $uri.html =404;
– and URLs like /image.jpg, /style.css etc are still found. I would expect that these requests return 404, because nginx tries image.jpg/ and then image.jpg.html, but not the actual $uri. Am I missing something?