Reason for "Gateway Timeout" (mod_wsgi)

I found the solution myself.

There was Timeout 100 somewhere in the Apache config.