Make sure that internal routing is turned on in your instance (a rather terrible warning is printed in the startup logs if you donβt have one) and delegate control of the hara-kiri to it (so remove the hara-kiri parameters):
[uwsgi] ; set harakiri to 30 seconds for /admin route = ^/admin harakiri:30 ; stop the routing chain for /admin route = ^/admin last: ; set harakiri to 15 for all the other uris route-run = harakiri:15
source share