OK, we found the bug. How can it be solved?
This happens when editing the file: /etc/nginx/nginx.conf and setting the user to ‘frappe’ (our user) instead ‘nginx’. If we leave the user ‘nginx’ the desk, addresses and so on works correctly, but it results in 404 not found for pictures under /public/files, see the end of this thread: