Ahh okay - hopefully one day TB is possible to figure out if it should serve webp or jpg, depending on the users browser/platform.
i would ad following to the nginx config, from my experience a few modules needs this rewrite.
rewrite "^/module/([a-zA-Z0-9-]*)/([a-zA-Z0-9-]*)$" /index.php?fc=module&module=$1&controller=$2 last;